From b0df6d3101dcdc57c79817d90baadc83ea7c9821 Mon Sep 17 00:00:00 2001 From: Simon De Backer Date: Wed, 12 Aug 2020 23:53:52 +0200 Subject: [PATCH] Remove code minium QT_VERSION 5.9 --- sources/main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sources/main.cpp b/sources/main.cpp index 66a6fa6d8..a72c1f9d2 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -38,12 +38,7 @@ int main(int argc, char **argv) QCoreApplication::setApplicationName("QElectroTech"); //Creation and execution of the application //HighDPI -#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) -#pragma message("@TODO remove code for QT 5.6 or later") QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -#else - qputenv("QT_DEVICE_PIXEL_RATIO", QByteArray("auto")); -#endif SingleApplication app(argc, argv, true); #ifdef Q_OS_MACOS //Handle the opening of QET when user double click on a .qet .elmt .tbt file