mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-30 19:15:08 +01:00
Fix a funny fading bug in the podcast info widget that would occur because a ResizeEvent was being sent with oldSize() == size().
This commit is contained in:
parent
096b90716d
commit
69779374c2
@ -50,6 +50,12 @@ bool WidgetFadeHelper::eventFilter(QObject* obj, QEvent* event) {
|
||||
if (!isVisible())
|
||||
return false;
|
||||
|
||||
QResizeEvent* re = static_cast<QResizeEvent*>(event);
|
||||
if (re->oldSize() == re->size()) {
|
||||
// Ignore phoney resize events
|
||||
return false;
|
||||
}
|
||||
|
||||
// Get a new capture of the parent
|
||||
hide();
|
||||
CaptureParent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user