Hide some of the bufferviews by default in order to not confuse new users too much.
[quassel.git] / src / qtui / serverlist.cpp
index 2f99f05..7f8e233 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                            *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -33,7 +33,7 @@ ServerListDlg::ServerListDlg(QWidget *parent) : QDialog(parent) {
 
   QSettings settings;
   settings.beginGroup("GUI");
-  ui.showOnStartup->setChecked(settings.value("ShowServerListOnStartup", true).toBool());
+  ui.showOnStartup->setChecked(settings.value("ShowServerListOnStartup", false).toBool());
 
   updateNetworkTree();
   connect(ui.networkTree, SIGNAL(itemSelectionChanged()), this, SLOT(updateButtons()));
@@ -163,8 +163,8 @@ void ServerListDlg::editIdentities(bool end) {
 }
 
 void ServerListDlg::on_showOnStartup_stateChanged(int) {
-  QSettings s;
-  s.setValue("GUI/ShowServerListOnStartup", ui.showOnStartup->isChecked());
+  //QSettings s;
+  //s.setValue("GUI/ShowServerListOnStartup", ui.showOnStartup->isChecked());
 }
 
 void ServerListDlg::accept() {