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:
authorOleksii Lysenko <lysenkoalexmail@gmail.com>2021-06-16 21:36:07 +0300
committerHannah von Reth <vonreth@kde.org>2021-06-18 14:03:27 +0300
commit61a69ea4a1a94431c7e65f7bb605613e7241578a (patch)
tree0ef3f53f50eb32d38b397892509982cec2387383 /src/gui/owncloudgui.cpp
parentf282e371beef2116c5aaf405e12671c5b5bbd3bf (diff)
Fixed unneeded allocations in for-loops
Diffstat (limited to 'src/gui/owncloudgui.cpp')
-rw-r--r--src/gui/owncloudgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp
index 6b8e37a3f..221911a28 100644
--- a/src/gui/owncloudgui.cpp
+++ b/src/gui/owncloudgui.cpp
@@ -287,7 +287,7 @@ void ownCloudGui::slotComputeOverallSyncStatus()
trayMessage = FolderMan::instance()->trayTooltipStatusString(trayOverallStatusResult.overallStatus, trayOverallStatusResult.hasUnresolvedConflicts, false);
#else
QStringList allStatusStrings;
- for (auto *folder : map.values()) {
+ for (auto *folder : map) {
QString folderMessage = FolderMan::trayTooltipStatusString(
folder->syncResult().status(),
folder->syncResult().hasUnresolvedConflicts(),