diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/init.cpp | 5 | ||||
-rw-r--r-- | gui/process_detector.cpp | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/gui/init.cpp b/gui/init.cpp index 2b7b01ad..246b7017 100644 --- a/gui/init.cpp +++ b/gui/init.cpp @@ -295,11 +295,6 @@ int otr_main(int argc, char** argv, std::function<std::unique_ptr<QWidget>()> co enable_x11_threads(); #endif - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) - QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); -#endif - QApplication app(argc, argv); #ifdef _WIN32 diff --git a/gui/process_detector.cpp b/gui/process_detector.cpp index 58ea4ca9..4dadd041 100644 --- a/gui/process_detector.cpp +++ b/gui/process_detector.cpp @@ -63,7 +63,7 @@ void proc_detector_settings::set_is_enabled(bool enabled) QHash<QString, QString> proc_detector_settings::split_process_names() { QString str = get_game_list(); - QStringList pairs = str.split(RECORD_SEPARATOR, QString::SkipEmptyParts); + QStringList pairs = str.split(RECORD_SEPARATOR, Qt::SkipEmptyParts); QHash<QString, QString> ret; ret.reserve(pairs.size() * 2); for (auto const& pair : pairs) |