diff options
author | Felix Weilbach <felix.weilbach@nextcloud.com> | 2021-09-14 14:17:03 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-10-12 19:14:24 +0300 |
commit | 4c11f6763e24d15113a08ec45fe27b83171aedc2 (patch) | |
tree | 740f507970e4b029e754dedf4a4271c21682bdc7 /src/libsync/theme.cpp | |
parent | 375dc92454f87522d1c9cfb2d143074c8c185655 (diff) |
Show sync progress in main dialog
Fixes #3662
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'src/libsync/theme.cpp')
-rw-r--r-- | src/libsync/theme.cpp | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index c4e6e83b7..699951130 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -156,7 +156,37 @@ QUrl Theme::statusAwayImageSource() const QUrl Theme::statusInvisibleImageSource() const { - return imagePathToUrl(themeImagePath("user-status-invisible", 16)); + return imagePathToUrl(themeImagePath("user-status-invisible", 64)); +} + +QUrl Theme::syncStatusOk() const +{ + return imagePathToUrl(themeImagePath("state-ok", 16)); +} + +QUrl Theme::syncStatusError() const +{ + return imagePathToUrl(themeImagePath("state-error", 16)); +} + +QUrl Theme::syncStatusRunning() const +{ + return imagePathToUrl(themeImagePath("state-sync", 16)); +} + +QUrl Theme::syncStatusPause() const +{ + return imagePathToUrl(themeImagePath("state-pause", 16)); +} + +QUrl Theme::syncStatusWarning() const +{ + return imagePathToUrl(themeImagePath("state-warning", 16)); +} + +QUrl Theme::folderOffline() const +{ + return imagePathToUrl(themeImagePath("state-offline")); } QString Theme::version() const |