summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2016-12-04 13:35:25 (GMT)
committerPino Toscano <pino@kde.org>2016-12-04 13:35:25 (GMT)
commitc48f33e5350c7ac8899ec76503c71d15a8bc5302 (patch)
tree54a4a0f499367d480ceff3fd6428b3c960467de0
parent1fddf445a1e89b515cddbdd8df74cecb7f9a73d2 (diff)
Use KStandardGuiItem::overwrite()v16.12.2v16.12.1v16.12.0
... instead of creating the KGuiItem from scratch
-rw-r--r--src/ui/fileformatdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/fileformatdialog.cpp b/src/ui/fileformatdialog.cpp
index 05b28d7..7a66cf2 100644
--- a/src/ui/fileformatdialog.cpp
+++ b/src/ui/fileformatdialog.cpp
@@ -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;
}