]> Git trees. - libqmvoc.git/commitdiff
use kguiitem(qstring) explicitly
authorWill Entriken <kde.org@phor.net>
Tue, 12 Sep 2006 23:28:20 +0000 (23:28 +0000)
committerWill Entriken <kde.org@phor.net>
Tue, 12 Sep 2006 23:28:20 +0000 (23:28 +0000)
thanks: Thomas Friedrichsmeier

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=583686

kdeeducore/keduvocdocument.cpp

index 9dd4087dbaa6d140fdcf3319cb8f8fe38ca7ae97..a8721ea3fd3b74f22997849e7e6cc03714c5690b 100644 (file)
@@ -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;
     }
   }