mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-12 06:15:45 -04:00
Qt: Update display after loading state
Fixes display not updating after loading state while paused.
This commit is contained in:
@ -960,6 +960,8 @@ void QtHostInterface::loadState(const QString& filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
LoadState(filename.toStdString().c_str());
|
LoadState(filename.toStdString().c_str());
|
||||||
|
if (System::IsValid())
|
||||||
|
renderDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
void QtHostInterface::loadState(bool global, qint32 slot)
|
void QtHostInterface::loadState(bool global, qint32 slot)
|
||||||
@ -971,6 +973,8 @@ void QtHostInterface::loadState(bool global, qint32 slot)
|
|||||||
}
|
}
|
||||||
|
|
||||||
LoadState(global, slot);
|
LoadState(global, slot);
|
||||||
|
if (System::IsValid())
|
||||||
|
renderDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
void QtHostInterface::saveState(bool global, qint32 slot, bool block_until_done /* = false */)
|
void QtHostInterface::saveState(bool global, qint32 slot, bool block_until_done /* = false */)
|
||||||
|
Reference in New Issue
Block a user