From 7fbd6d7fade0737254ac8c8828084f117295a500 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 6 Apr 2017 10:45:36 -0400 Subject: 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. --- src-qt5/desktop-utils/lumina-fm/TrayUI.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); } } } -- cgit