Commit a2c25dbc authored by Pino Toscano's avatar Pino Toscano
Browse files

Use KStandardGuiItem::overwrite()

... instead of creating the KGuiItem from scratch
parent 22f2a2b1
......@@ -585,7 +585,7 @@ void Game::saveGame (bool saveAs)
QString mes=i18n("The file %1 exists.\n"
"Do you want to overwrite it?", url.url());
result = KMessageBox::warningContinueCancel
(m_view, mes, QString(), KGuiItem(i18n("Overwrite")));
(m_view, mes, QString(), KStandardGuiItem::overwrite());
if (result == KMessageBox::Cancel)
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