do not access possibly deleted memory
This commit is contained in:
parent
e6fa2e4311
commit
2f1bb4f4a3
1 changed files with 1 additions and 1 deletions
|
@ -1590,8 +1590,8 @@ namespace Oxygen
|
|||
|
||||
QPoint point = event->pos();
|
||||
int itemClicked( this->itemClicked( point ) );
|
||||
displayClientMenu( itemClicked, widget()->mapToGlobal( event->pos() ) );
|
||||
_mouseButton = Qt::NoButton;
|
||||
displayClientMenu( itemClicked, widget()->mapToGlobal( event->pos() ) );
|
||||
accepted = true; // displayClientMenu can possibly destroy the deco...
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue