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

StartGameDialog will not be shown when demo parameter is passed.

parent 6e15ef1d
......@@ -93,8 +93,6 @@ KReversiMainWindow::KReversiMainWindow(QWidget* parent, bool startDemo)
setupGUI(qApp->desktop()->availableGeometry().size() * 0.7);
m_historyDock->hide();
QTimer::singleShot(0, this, SLOT(slotNewGame()));
}
KReversiMainWindow::~KReversiMainWindow()
......@@ -364,7 +362,7 @@ void KReversiMainWindow::showEvent(QShowEvent*)
startDemo();
}
else if (m_firstShow) {
// TODO: showing start game dialog
QTimer::singleShot(0, this, SLOT(slotNewGame()));
}
m_firstShow = false;
}
......
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