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
path: root/src
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-01-22 15:42:32 +0300
committerHannah von Reth <vonreth@kde.org>2021-01-25 17:15:13 +0300
commitcf9322c2bd4cf5637e2a6d300170014a7704b229 (patch)
tree29ff0448e5881edfe771d66245428b0e96693827 /src
parent2519a0bd0cf2edc9a0109ea86ded1238d3f48b99 (diff)
Increase the quality of upscaled icons
Diffstat (limited to 'src')
-rw-r--r--src/libsync/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp
index 0c1a1bb9f..949571c25 100644
--- a/src/libsync/theme.cpp
+++ b/src/libsync/theme.cpp
@@ -189,7 +189,7 @@ QIcon Theme::themeIcon(const QString &name, bool sysTray, bool sysTrayMenuVisibl
} else if (size >= 128) {
if (!previousIcon.isEmpty()) {
qWarning() << "Upsacling:" << previousIcon << "to" << size;
- cached.addPixmap(QPixmap(previousIcon).scaled({ size, size }, Qt::KeepAspectRatio));
+ cached.addPixmap(QPixmap(previousIcon).scaled({ size, size }, Qt::KeepAspectRatio, Qt::SmoothTransformation));
}
}
}