mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 03:09:57 +01:00
Oops, forgot this comment
This commit is contained in:
parent
56bb697d06
commit
66d83fd120
@ -627,6 +627,8 @@ void MainWindow::closeEvent(QCloseEvent* event) {
|
||||
void MainWindow::SetHiddenInTray(bool hidden) {
|
||||
settings_.setValue("hidden", hidden);
|
||||
|
||||
// Some window managers don't remember maximized state between calls to
|
||||
// hide() and show(), so we have to remember it ourself.
|
||||
if (hidden) {
|
||||
was_maximized_ = isMaximized();
|
||||
hide();
|
||||
|
Loading…
Reference in New Issue
Block a user