Commit f445b350 authored by Denis Kuplyakov's avatar Denis Kuplyakov
Browse files

Show StartGameDialog at the start of the application

Added exec() call through timer, to make MainWindow show before modal
dialog.
parent aa119c6b
......@@ -114,6 +114,8 @@ KReversiMainWindow::KReversiMainWindow(QWidget* parent, bool startDemo)
setupGUI(qApp->desktop()->availableGeometry().size() * 0.7);
m_historyDock->hide();
QTimer::singleShot(0, this, SLOT(slotNewGame()));
}
KReversiMainWindow::~KReversiMainWindow()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment