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:
parent
a32b9ff1e7
commit
93636cb37c
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue