diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-08-10 16:55:42 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-08-12 15:59:19 +0300 |
commit | 6ac3d2ed356e67140e4c61547e07aad8bdde28e3 (patch) | |
tree | 22040285add3d4b6ec5cd1204af4a5c356f89906 /src/gui/models | |
parent | 6084b131b883b1f4ec5f6aa842e76875d67acb49 (diff) |
Display an icon for successfully synced items
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/protocolitemmodel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/models/protocolitemmodel.cpp b/src/gui/models/protocolitemmodel.cpp index 76f5c557a..fedcbc35e 100644 --- a/src/gui/models/protocolitemmodel.cpp +++ b/src/gui/models/protocolitemmodel.cpp @@ -85,9 +85,7 @@ QVariant ProtocolItemModel::data(const QModelIndex &index, int role) const } else if (Progress::isWarningKind(status)) { return Theme::instance()->syncStateIcon(SyncResult::Problem); } else { - return {}; - // TODO: display icon on success? - // return Theme::instance()->syncStateIcon(SyncResult::Success); + return Theme::instance()->syncStateIcon(SyncResult::Success); } } break; |