mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 16:06:16 +00:00
16 lines
528 B
Diff
16 lines
528 B
Diff
--- a/src/libsync/ocsprofileconnector.cpp
|
|
+++ b/src/libsync/ocsprofileconnector.cpp
|
|
@@ -55,9 +55,9 @@ OCC::Optional<QPixmap> createPixmapFromSvgData(const QByteArray &iconData)
|
|
return {};
|
|
}
|
|
QSize imageSize{16, 16};
|
|
- if (OCC::Theme::isHidpi()) {
|
|
- imageSize = QSize{32, 32};
|
|
- }
|
|
+ // if (OCC::Theme::isHidpi()) {
|
|
+ // imageSize = QSize{32, 32};
|
|
+ // }
|
|
QImage scaledSvg(imageSize, QImage::Format_ARGB32);
|
|
scaledSvg.fill("transparent");
|
|
QPainter svgPainter{&scaledSvg};
|