diff --git a/gui/src/MainWindow.cpp b/gui/src/MainWindow.cpp index 789d3056..f30c5a5d 100644 --- a/gui/src/MainWindow.cpp +++ b/gui/src/MainWindow.cpp @@ -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