aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-04-06 10:45:36 -0400
committerKen Moore <ken@ixsystems.com>2017-04-06 10:45:36 -0400
commit7fbd6d7fade0737254ac8c8828084f117295a500 (patch)
tree42e5afeed97cd097c7f6328d0f4d6f790222799d
parentStart prepping the "local" side of lumina-mediaplayer. (diff)
downloadlumina-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.
-rw-r--r--src-qt5/desktop-utils/lumina-fm/TrayUI.cpp2
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); }
}
}
bgstack15