diff options
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/TrayUI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/TrayUI.cpp b/src-qt5/desktop-utils/lumina-fm/TrayUI.cpp index f7034d54..fda3f3b7 100644 --- a/src-qt5/desktop-utils/lumina-fm/TrayUI.cpp +++ b/src-qt5/desktop-utils/lumina-fm/TrayUI.cpp @@ -86,6 +86,8 @@ void TrayUI::checkJobs(){ emit JobsFinished(); this->hide(); }else{ + bool showNotify = !this->isVisible(); this->show(); + if(showNotify){ this->showMessage(tr("New Tasks Running"),"",QSystemTrayIcon::NoIcon, 2000); } } } |