Disable backlog in chatmonitor by default
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 25 Mar 2014 20:13:27 +0000 (21:13 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 25 Mar 2014 20:13:27 +0000 (21:13 +0100)
This has some performance issues (the client will freeze for several
seconds after sync and on disconnect), and thus should not be enabled
by default.

We'll leave the feature in for people who don't care about the delay,
and hope that this can be optimized in a later version.

src/qtui/settingspages/chatmonitorsettingspage.cpp

index 535c987..8dd7e27 100644 (file)
@@ -81,7 +81,7 @@ void ChatMonitorSettingsPage::defaults()
     settings["ShowOwnMsgs"] = false;
     settings["Buffers"] = QVariant();
     settings["Default"] = true;
-    settings["ShowBacklog"] = true;
+    settings["ShowBacklog"] = false;
     settings["IncludeRead"] = false;
     load();
     widgetHasChanged();
@@ -133,8 +133,8 @@ void ChatMonitorSettingsPage::loadSettings()
     settings["ShowHighlights"] = chatViewSettings.value("ShowHighlights", false);
     settings["ShowOwnMsgs"] = chatViewSettings.value("ShowOwnMsgs", false);
     settings["Buffers"] = chatViewSettings.value("Buffers", QVariantList());
-    settings["ShowBacklog"] = chatViewSettings.value("ShowBacklog", true);
-    settings["IncludeRead"] = chatViewSettings.value("IncludeRead", true);
+    settings["ShowBacklog"] = chatViewSettings.value("ShowBacklog", false);
+    settings["IncludeRead"] = chatViewSettings.value("IncludeRead", false);
 }