diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-10-26 18:49:10 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-10-28 11:38:07 +0300 |
commit | 8fb364a913009acfcae5d3da02f95e2e5a3ef40b (patch) | |
tree | 256e988e38bb40ff32587b5cef05dd1d814a8d49 /src/gui/owncloudgui.cpp | |
parent | 2e8f660e2ade5b19a62286dddcc928cc707c08ed (diff) |
Reintroduce a dark and a light theme
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r-- | src/gui/owncloudgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index b0f7fe29b..a1c937cce 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -30,6 +30,7 @@ #include "aboutdialog.h" #include "common/syncjournalfilerecord.h" #include "creds/abstractcredentials.h" +#include "guiutility.h" #include <QDesktopServices> #include <QDir> @@ -890,8 +891,7 @@ void ownCloudGui::slotUpdateProgress(const QString &folder, const ProgressInfo & && shouldShowInRecentsMenu(progress._lastCompletedItem)) { if (Progress::isWarningKind(progress._lastCompletedItem._status)) { // display a warn icon if warnings happened. - QIcon warnIcon(":/client/resources/warning.svg"); - _actionRecent->setIcon(warnIcon); + _actionRecent->setIcon(Utility::getCoreIcon(QStringLiteral("warning"))); } QString kindStr = Progress::asResultString(progress._lastCompletedItem); |