Don't crash.
svn path=/trunk/KDE/kdebase/workspace/; revision=672215
This commit is contained in:
parent
38267e8ac6
commit
841a08c99c
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ void DesktopGridEffect::windowInputMouseEvent( Window, QEvent* e )
|
|||
{
|
||||
QRect rect;
|
||||
EffectWindow* w = windowAt( me->pos(), &rect );
|
||||
if( w->isMovable())
|
||||
if( w != NULL && w->isMovable())
|
||||
{ // prepare it for moving
|
||||
window_move_pos = rect.topLeft();
|
||||
window_move_diff = window_move_pos - me->pos();
|
||||
|
|
Loading…
Reference in a new issue