diff --git a/src/main.cpp b/src/main.cpp index 48ad08c38..f5ad4173e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -177,6 +177,9 @@ int main(int argc, char* argv[]) { QCoreApplication::setLibraryPaths(QStringList() << QCoreApplication::applicationDirPath() + "/" + USE_BUNDLE_DIR); #endif + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + #ifndef Q_OS_MACOS // Gnome on Ubuntu has menu icons disabled by default. I think that's a bad idea, and makes some menus in Strawberry look confusing. QCoreApplication::setAttribute(Qt::AA_DontShowIconsInMenus, false);