diff options
Diffstat (limited to 'sowatchui/watchesmodel.cpp')
-rw-r--r-- | sowatchui/watchesmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sowatchui/watchesmodel.cpp b/sowatchui/watchesmodel.cpp index 4531544..5644466 100644 --- a/sowatchui/watchesmodel.cpp +++ b/sowatchui/watchesmodel.cpp @@ -97,9 +97,14 @@ void WatchesModel::reload() foreach (ConfigKey* conf, _list) { conf->deleteLater(); } + _status.clear(); _list.clear(); foreach (const QString& s, dirs) { _list.append(_config->getSubkey(s, this)); + QDBusReply<QString> reply = _daemon->GetWatchStatus(s); + if (reply.isValid()) { + _status[s] = reply.value(); + } } endResetModel(); |