Make the helper dialog modal, probably a Qt4-porting error.

BUG: 156872


svn path=/trunk/KDE/kdebase/workspace/; revision=788878
This commit is contained in:
Luboš Luňák 2008-03-22 19:08:33 +00:00
parent a32b9ff1e7
commit 93636cb37c

View file

@ -174,6 +174,7 @@ void DetectDialog::selectWindow()
// grab only mouse, so that keyboard can be used e.g. for switching windows // grab only mouse, so that keyboard can be used e.g. for switching windows
grabber = new KDialog( 0, Qt::X11BypassWindowManagerHint ); grabber = new KDialog( 0, Qt::X11BypassWindowManagerHint );
grabber->move( -1000, -1000 ); grabber->move( -1000, -1000 );
grabber->setModal( true );
grabber->show(); grabber->show();
grabber->grabMouse( Qt::CrossCursor ); grabber->grabMouse( Qt::CrossCursor );
grabber->installEventFilter( this ); grabber->installEventFilter( this );