mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Better check resizeEvent' size. Otherwise, the nowplayingwidget isn't always resized (even if it should), particulary at startup, when starting playing
This commit is contained in:
parent
bb69d7d53a
commit
627ae372d4
@ -364,7 +364,7 @@ void NowPlayingWidget::SetMode(int mode) {
|
||||
}
|
||||
|
||||
void NowPlayingWidget::resizeEvent(QResizeEvent* e) {
|
||||
if (visible_ && mode_ == LargeSongDetails && e->oldSize().width() != e->size().width()) {
|
||||
if (visible_ && mode_ == LargeSongDetails && e->oldSize() != e->size()) {
|
||||
UpdateHeight();
|
||||
UpdateDetailsText();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user