Commit 5356f4f4 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Drop code variant for no longer supported Qt versions

GIT_SILENT
parent 0531b3cb
......@@ -129,11 +129,7 @@ void KMinesMainWindow::setupActions()
KgDifficultyGUI::init(this);
connect(Kg::difficulty(), &KgDifficulty::currentLevelChanged, this, &KMinesMainWindow::newGame);
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
setupGUI(QApplication::screens().at(0)->availableGeometry().size() * 0.4);
#else
setupGUI(screen()->availableGeometry().size() * 0.4);
#endif
}
void KMinesMainWindow::onMinesCountChanged(int count)
......
Supports Markdown
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