Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
Kubrick
Commits
c7023a48
Commit
c7023a48
authored
Jul 31, 2022
by
Laurent Montel
Browse files
KMessageBox::sorry is deprecated in kf5.97
parent
d48ca844
Pipeline
#210963
passed with stage
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/game.cpp
View file @
c7023a48
...
...
@@ -182,7 +182,7 @@ void Game::load ()
KConfig
config
(
loadFilename
,
KConfig
::
SimpleConfig
);
if
(
!
config
.
hasGroup
(
"KubrickGame"
))
{
KMessageBox
::
sorry
(
mainWindow
,
KMessageBox
::
error
(
mainWindow
,
i18n
(
"The file '%1' is not a valid Kubrick game-file."
,
loadFilename
));
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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