construct KGuiItem(QString) explicitly
svn path=/trunk/KDE/kdebase/workspace/; revision=583808
This commit is contained in:
parent
d65f3d93d1
commit
4a9f1e5b0d
1 changed files with 1 additions and 1 deletions
|
@ -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" )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue