construct KGuiItem(QString) explicitly

svn path=/trunk/KDE/kdebase/workspace/; revision=583808
This commit is contained in:
Will Entriken 2006-09-13 15:05:55 +00:00
parent d65f3d93d1
commit 4a9f1e5b0d

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" )
{