Skip to content

Commit

Permalink
If during a backup the filedaemon dies the TrayIcon remains blinking
Browse files Browse the repository at this point in the history
Solution: If the "status" command fails to execute disable the animated icon.

Fixes #165:  If during a backup the filedaemon dies the TrayIcon remains blinking

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
Frank Ueberschar authored and Marco van Wieringen committed May 5, 2013
1 parent 9f707dc commit 0b3d0e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt-tray-monitor/monitoritem.cpp
Expand Up @@ -314,7 +314,8 @@ void MonitorItem::get_status()
docmd("status dir");
break;
case R_CLIENT:
docmd("status");
if (!docmd("status"))
emit jobIsRunning(false);
break;
case R_STORAGE:
docmd("status");
Expand Down

0 comments on commit 0b3d0e9

Please sign in to comment.