[rkward/releases/0.6.4] rkward/settings: Make --internet2 the default on Windows.

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Dec 16 09:02:47 UTC 2015

Git commit 9e7c4a2dba7c1acfcc6723828f6aaa3643d64032 by Thomas Friedrichsmeier.
Committed on 16/12/2015 at 08:59.
Pushed by tfry into branch 'releases/0.6.4'.

Make --internet2 the default on Windows.

R now seems to suggest https:// mirrors by default, now.
It also claims that setInternet2(TRUE) was no longer needed for this to work. I cannot confirm that latter bit.

-- This concerns Windows, only. We'll patch it in, there, without recreating the release tarball (at least not unless we get further reason to do so). --

M  +2    -1    rkward/settings/rksettingsmoduler.cpp


diff --git a/rkward/settings/rksettingsmoduler.cpp b/rkward/settings/rksettingsmoduler.cpp
index e48a89d..e4ecdca 100644
--- a/rkward/settings/rksettingsmoduler.cpp
+++ b/rkward/settings/rksettingsmoduler.cpp
@@ -328,7 +328,8 @@ void RKSettingsModuleR::loadSettings (KConfig *config) {
 	options_pager = cg.readEntry ("pager", builtin_editor);
 	options_further = cg.readEntry ("further init commands", QString ());
 #ifdef Q_WS_WIN
-	options_internet2 = cg.readEntry ("internet2", false);
+	options_internet2 = cg.readEntry ("internet2", true);
+	if (RKSettingsModuleGeneral::storedConfigVersion () < RKSettingsModuleGeneral::RKWardConfig_0_6_4) options_internet2 = true;

More information about the rkward-tracker mailing list