Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KMines
Commits
5356f4f4
Commit
5356f4f4
authored
May 17, 2021
by
Friedrich W. H. Kossebau
Browse files
Drop code variant for no longer supported Qt versions
GIT_SILENT
parent
0531b3cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
5356f4f4
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment