Commit b9930ad9 authored by jcfr's avatar jcfr

STYLE: Remove obsolete Qt5 code

Co-authored-by: Jean-Christophe Fillion-Robin's avatarJean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Co-authored-by: phcerdan's avatarPablo Hernandez-Cerdan <pablo.hernandez.cerdan@outlook.com>

From: Pablo Hernandez-Cerdan <pablo.hernandez.cerdan@outlook.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@28004 3bd1e089-480b-0410-8dfb-8563597acbee
parent a7a325b2
......@@ -111,7 +111,6 @@ void qSlicerApplicationHelper::preInitializeApplication(
QSurfaceFormat::setDefaultFormat(format);
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
#ifdef _WIN32
// Qt windows defaults to the PROCESS_PER_MONITOR_DPI_AWARE for DPI display
// on windows. Unfortunately, this doesn't work well on multi-screens setups.
......@@ -122,7 +121,6 @@ void qSlicerApplicationHelper::preInitializeApplication(
// Enable automatic scaling based on the pixel density of the monitor
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
// Allow a custom application name so that the settings
// can be distinct for differently named applications
......
Markdown is supported
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