Fix possible stack overflow.
This commit is contained in:
parent
328b75a311
commit
3185e6cd55
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ bool PopupMenu::eventFilter(QObject *o, QEvent *e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void PopupMenu::hideMenu(bool fast) {
|
void PopupMenu::hideMenu(bool fast) {
|
||||||
if (isHidden()) {
|
if (isHidden() || (_hiding && !fast)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_parent && !_a_opacity.animating()) {
|
if (_parent && !_a_opacity.animating()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue