diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-29 19:38:16 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-29 19:38:16 +0200 |
commit | af1fe0932751e17b16755b4b95a457aedc850b98 (patch) | |
tree | 6700b868594e7831a8ba7528278da5e239c491d6 /framework/accounts/accountsmodel.cpp | |
parent | 5194b36177fb4e372c520435b505802a3d1a5371 (diff) | |
download | kube-af1fe0932751e17b16755b4b95a457aedc850b98.tar.gz kube-af1fe0932751e17b16755b4b95a457aedc850b98.zip |
Show offline icon when offline
Diffstat (limited to 'framework/accounts/accountsmodel.cpp')
-rw-r--r-- | framework/accounts/accountsmodel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/accounts/accountsmodel.cpp b/framework/accounts/accountsmodel.cpp index d999bdbd..f98e8ca3 100644 --- a/framework/accounts/accountsmodel.cpp +++ b/framework/accounts/accountsmodel.cpp | |||
@@ -68,8 +68,10 @@ QVariant AccountsModel::data(const QModelIndex &idx, int role) const | |||
68 | return BusyStatus; | 68 | return BusyStatus; |
69 | case Sink::ApplicationDomain::ConnectedStatus: | 69 | case Sink::ApplicationDomain::ConnectedStatus: |
70 | return ConnectedStatus; | 70 | return ConnectedStatus; |
71 | case Sink::ApplicationDomain::OfflineStatus: | ||
72 | return OfflineStatus; | ||
71 | } | 73 | } |
72 | return OfflineStatus; | 74 | return NoStatus; |
73 | } | 75 | } |
74 | return QIdentityProxyModel::data(idx, role); | 76 | return QIdentityProxyModel::data(idx, role); |
75 | } | 77 | } |