File clementine-moodbar-fpic.patch of Package clementine
Index: b/src/ui/mainwindow.cpp
===================================================================
--- a/src/ui/mainwindow.cpp 2021-04-07 16:18:29.019328415 +0200
+++ b/src/ui/mainwindow.cpp 2021-04-07 16:27:42.804556644 +0200
@@ -1062,6 +1062,7 @@ MainWindow::MainWindow(Application* app,
// to hide
if (hidden && (!QSystemTrayIcon::isSystemTrayAvailable() || !tray_icon_ ||
!tray_icon_->IsVisible()))
+ setVisible(TRUE);
show();
#endif
@@ -1105,6 +1106,7 @@ void MainWindow::ReloadSettings() {
if (tray_icon_) tray_icon_->SetVisible(show_tray);
if ((!show_tray || !QSystemTrayIcon::isSystemTrayAvailable()) && !isVisible())
+ setVisible(TRUE);
show();
#endif