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