Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-10-26 18:49:10 +0300
committerHannah von Reth <vonreth@kde.org>2020-10-28 11:38:07 +0300
commit8fb364a913009acfcae5d3da02f95e2e5a3ef40b (patch)
tree256e988e38bb40ff32587b5cef05dd1d814a8d49 /src/gui/owncloudgui.cpp
parent2e8f660e2ade5b19a62286dddcc928cc707c08ed (diff)
Reintroduce a dark and a light theme
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r--src/gui/owncloudgui.cpp4
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);