Commit c7023a48 authored by Laurent Montel's avatar Laurent Montel
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent d48ca844
Pipeline #210963 passed with stage
in 51 seconds
......@@ -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;
}
......
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