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

Use KStandardGuiItem::overwrite()

... instead of creating the KGuiItem from scratch
parent 1fddf445
......@@ -78,7 +78,7 @@ bool FileFormatDialog::exportFile(GraphDocumentPtr document) const
"<p>The file <br /><strong>'%1'</strong><br /> already exists; if you "
"do not want to overwrite it, change the file name to "
"something else.</p>", file.toDisplayString()),
i18n("File Exists"), KGuiItem(i18n("Overwrite") ))
i18n("File Exists"), KStandardGuiItem::overwrite())
== KMessageBox::Cancel ) {
return false;
}
......
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