Fix endless hiding state without compositing
This commit is contained in:
parent
637ff6be4b
commit
6732aa70e9
1 changed files with 1 additions and 2 deletions
|
|
@ -631,12 +631,12 @@ void PopupMenu::hideAnimated() {
|
||||||
void PopupMenu::hideFast() {
|
void PopupMenu::hideFast() {
|
||||||
if (isHidden()) return;
|
if (isHidden()) return;
|
||||||
|
|
||||||
_hiding = false;
|
|
||||||
_a_opacity.stop();
|
_a_opacity.stop();
|
||||||
hideFinished();
|
hideFinished();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PopupMenu::hideFinished() {
|
void PopupMenu::hideFinished() {
|
||||||
|
_hiding = false;
|
||||||
_a_show.stop();
|
_a_show.stop();
|
||||||
_cache = QPixmap();
|
_cache = QPixmap();
|
||||||
if (!isHidden()) {
|
if (!isHidden()) {
|
||||||
|
|
@ -723,7 +723,6 @@ void PopupMenu::opacityAnimationCallback() {
|
||||||
update();
|
update();
|
||||||
if (!_a_opacity.animating()) {
|
if (!_a_opacity.animating()) {
|
||||||
if (_hiding) {
|
if (_hiding) {
|
||||||
_hiding = false;
|
|
||||||
hideFinished();
|
hideFinished();
|
||||||
} else {
|
} else {
|
||||||
showChildren();
|
showChildren();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue