diff --git a/src/main.cpp b/src/main.cpp index 5c499eea..efc986f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,6 +32,9 @@ VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE; int main(int argc, char *argv[]) { + // Enable scaling for high DPI screens + QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QApplication a(argc, argv); QString title = QString("Cascade Image Editor - v%1.%2.%3").arg(VERSION_MAJOR).arg(VERSION_MINOR).arg(VERSION_BUILD);