Make the killer dialog transient for the nonresponding window.

svn path=/trunk/kdebase/kwin/; revision=260985
This commit is contained in:
Luboš Luňák 2003-10-22 08:18:04 +00:00
parent 4d129cc9ba
commit 52cb814d32

View file

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