construct KGuiItem(QString) explicitly

svn path=/trunk/KDE/kdebase/workspace/; revision=583808
icc-effect-5.14.5
Will Entriken 2006-09-13 15:05:55 +00:00
parent d65f3d93d1
commit 4a9f1e5b0d
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ int main( int argc, char* argv[] )
"Do you wish to terminate this application? (All unsaved data in this application will be lost.)</qt>" ,
appname, caption, pid, QString( hostname ) );
app.updateUserTimestamp( timestamp );
if( KMessageBox::warningYesNoWId( id, question, QString(), i18n("Terminate"), i18n("Keep Running") ) == KMessageBox::Yes )
if( KMessageBox::warningYesNoWId( id, question, QString(), KGuiItem(i18n("Terminate")), KGuiItem(i18n("Keep Running")) ) == KMessageBox::Yes )
{
if( hostname != "localhost" )
{