diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-01-22 15:42:32 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-01-25 17:15:13 +0300 |
commit | cf9322c2bd4cf5637e2a6d300170014a7704b229 (patch) | |
tree | 29ff0448e5881edfe771d66245428b0e96693827 | |
parent | 2519a0bd0cf2edc9a0109ea86ded1238d3f48b99 (diff) |
Increase the quality of upscaled icons
-rw-r--r-- | src/libsync/theme.cpp | 2 |
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)); } } } |