From 9714c92ddee35d43a4e8b1e7238d06a7de51a19f Mon Sep 17 00:00:00 2001 From: Frank Ueberschar Date: Sat, 4 May 2013 21:27:11 +0200 Subject: [PATCH] If during a backup the filedaemon dies the TrayIcon remains blinking 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 --- src/qt-tray-monitor/monitoritem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt-tray-monitor/monitoritem.cpp b/src/qt-tray-monitor/monitoritem.cpp index efd1a104b2b..5873ce222b1 100644 --- a/src/qt-tray-monitor/monitoritem.cpp +++ b/src/qt-tray-monitor/monitoritem.cpp @@ -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");