OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2a546
)
do not send move and resize events to the widget from qFadeEffect()
author
Ivailo Monev
<xakepa10@gmail.com>
Tue, 22 Nov 2022 18:37:06 +0000
(20:37 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Tue, 22 Nov 2022 18:37:06 +0000
(20:37 +0200)
the position and size of the widget matter not to the effect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/widgets/qeffects.cpp
patch
|
blob
|
history
diff --git
a/src/gui/widgets/qeffects.cpp
b/src/gui/widgets/qeffects.cpp
index
74d0c4e
..
cafdbbc
100644
(file)
--- a/
src/gui/widgets/qeffects.cpp
+++ b/
src/gui/widgets/qeffects.cpp
@@
-122,10
+122,6
@@
void qFadeEffect(QWidget* w)
return;
}
- QApplication::sendPostedEvents(w, QEvent::Move);
- QApplication::sendPostedEvents(w, QEvent::Resize);
-
- // those can be popups - they would steal the focus, but are disabled
q_opacity = new QOpacityEffect(w);
}