Fixed issue 485

This commit is contained in:
Nick Bolton 2010-06-02 20:39:27 +00:00
parent 63d8c077d4
commit 749a4140f3
1 changed files with 3 additions and 6 deletions

View File

@ -54,6 +54,9 @@ MainWindow::MainWindow(QWidget* parent) :
loadSettings();
initConnections();
// HACK - surely window should be visible by default?
setVisible(true);
if (appConfig().autoConnect())
startSynergy();
}
@ -133,12 +136,6 @@ void MainWindow::loadSettings()
move(rect.x(), rect.y());
resize(rect.width(), rect.height());
#if !defined(Q_OS_MAC)
setVisible(settings().value("windowVisible", true).toBool());
#else
setVisible(true);
#endif
// program settings
// the next two must come BEFORE loading groupServerChecked and groupClientChecked or