From 7de437ea8242cb2bd0aaec35a09efe3b885d24b7 Mon Sep 17 00:00:00 2001 From: Will Entriken Date: Tue, 12 Sep 2006 23:28:20 +0000 Subject: [PATCH] use kguiitem(qstring) explicitly thanks: Thomas Friedrichsmeier svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=583686 --- kdeeducore/keduvocdocument.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.47.3