Commit 6ee1e01e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It's enabled by default in qt6

parent 4fc25d59
Pipeline #183721 passed with stage
in 5 minutes and 27 seconds
......@@ -65,9 +65,10 @@ int main(int argc, char **argv)
/**
* enable high dpi support
*/
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
#endif
QApplication app(argc, argv);
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("system-file-manager"), app.windowIcon()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment