diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-06 10:45:36 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-06 10:45:36 -0400 |
commit | 7fbd6d7fade0737254ac8c8828084f117295a500 (patch) | |
tree | 42e5afeed97cd097c7f6328d0f4d6f790222799d /src-qt5/desktop-utils/lumina-fm | |
parent | Start prepping the "local" side of lumina-mediaplayer. (diff) | |
download | lumina-7fbd6d7fade0737254ac8c8828084f117295a500.tar.gz lumina-7fbd6d7fade0737254ac8c8828084f117295a500.tar.bz2 lumina-7fbd6d7fade0737254ac8c8828084f117295a500.zip |
Add a tray popup message when the tray first becomes visible.
This ensures that the user is notified when a file operation is currently running via the tray.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm')
-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); } } } |