From: Will Entriken Date: Tue, 12 Sep 2006 23:28:20 +0000 (+0000) Subject: use kguiitem(qstring) explicitly X-Git-Tag: v3.80.2~36 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=7de437ea8242cb2bd0aaec35a09efe3b885d24b7;p=libqmvoc.git use kguiitem(qstring) explicitly thanks: Thomas Friedrichsmeier svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=583686 --- diff --git a/kdeeducore/keduvocdocument.cpp b/kdeeducore/keduvocdocument.cpp index 9dd4087..a8721ea 100644 --- a/kdeeducore/keduvocdocument.cpp +++ b/kdeeducore/keduvocdocument.cpp @@ -171,7 +171,7 @@ bool KEduVocDocument::open(const KUrl& url, bool /*append*/) QString msg = i18n("Could not load \"%1\"\nDo you want to try again?", url.path()); int result = KMessageBox::warningContinueCancel(0, msg, kapp->makeStdCaption(i18n("I/O Failure")), - i18n("&Retry")); + KGuiItem(i18n("&Retry"))); if ( result == KMessageBox::Cancel ) { Init(); return false; @@ -268,7 +268,7 @@ bool KEduVocDocument::saveAs(QObject *parent, const KUrl & url, FileType ft, con QString msg = i18n("Could not save \"%1\"\nDo you want to try again?", tmp.path()); int result = KMessageBox::warningContinueCancel(0, msg, kapp->makeStdCaption(i18n("I/O Failure")), - i18n("&Retry")); + KGuiItem(i18n("&Retry"))); if ( result == KMessageBox::Cancel ) return false; } }