diff libgui/src/main-window.cc @ 24094:1265c7f0119a

consistent defaults values for all preferences (bug #52090) * files-dock-widget.cc (notice_settings): default for syncing octave directory with the current browser directory set to true * main-window.cc (main_window, load_and_display_community_news): set default for allowing a web connection to false * settings-dialog.cc (settings_dialog): fix names of some preferences for the variable editor * variable-editor.cc (notice_settings): use defaults for the used font and set the default for autofitting the row height to true
author Torsten <mttl@mailbox.org>
date Sun, 24 Sep 2017 09:52:41 +0200
parents 0052d47ddc3e
children bc3819b7cca1
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Sat Sep 23 13:50:53 2017 -0700
+++ b/libgui/src/main-window.cc	Sun Sep 24 09:52:41 2017 +0200
@@ -190,7 +190,7 @@
   if (settings)
     {
       connect_to_web
-        = settings->value ("news/allow_web_connection", true).toBool ();
+        = settings->value ("news/allow_web_connection", false).toBool ();
 
       last_checked
         = settings->value ("news/last_time_checked", QDateTime ()).toDateTime ();
@@ -515,7 +515,7 @@
 
   bool connect_to_web
     = (settings
-       ? settings->value ("news/allow_web_connection", true).toBool ()
+       ? settings->value ("news/allow_web_connection", false).toBool ()
        : true);
 
   QString base_url = "http://octave.org";