diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-09 16:38:56 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-09 16:38:56 +0200 |
commit | c7c6a2c596637fd4942c7fb80341ca2ef7b47808 (patch) | |
tree | 0d4196fa95444dd7e14fbaed61299454609d4762 /sowatchui/watchesmodel.cpp | |
parent | 406332eb6b3199d19388f359d04c9f184e6082b5 (diff) | |
download | sowatch-c7c6a2c596637fd4942c7fb80341ca2ef7b47808.tar.gz sowatch-c7c6a2c596637fd4942c7fb80341ca2ef7b47808.zip |
moving scanner logic to ui, new icon
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(); |