Fixed issue 485
This commit is contained in:
parent
63d8c077d4
commit
749a4140f3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue