[utilities/basket] src: Drop Qt 5 application attributes
Pino Toscano <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 85aa9ef08e078cd4940b2b512ef3f6f4b10cbd2f by Pino Toscano.
Committed on 07/08/2026 at 10:10.
Pushed by pino into branch 'master'.
Drop Qt 5 application attributes
High-DPI pixmaps are always enabled in Qt 6, and those attributes are
no-ops.
M +0 -4 src/main.cpp
https://invent.kde.org/utilities/basket/-/commit/85aa9ef08e078cd4940b2b512ef3f6f4b10cbd2f
diff --git a/src/main.cpp b/src/main.cpp
index 0cfd7dc4..5b1f5fe2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,10 +25,6 @@ int main(int argc, char *argv[])
{
const char *argv0 = (argc >= 1 ? argv[0] : "");
- // enable high dpi support
- Application::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
- Application::setAttribute(Qt::AA_EnableHighDpiScaling, true);
-
Global::commandLineOpts = new QCommandLineParser();
Application app(argc, argv);