summaryrefslogtreecommitdiffstats
path: root/basicsuite/qtquickcontrols2/gallery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/qtquickcontrols2/gallery.cpp')
-rw-r--r--basicsuite/qtquickcontrols2/gallery.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/basicsuite/qtquickcontrols2/gallery.cpp b/basicsuite/qtquickcontrols2/gallery.cpp
index f6c6f66..bbe4c71 100644
--- a/basicsuite/qtquickcontrols2/gallery.cpp
+++ b/basicsuite/qtquickcontrols2/gallery.cpp
@@ -60,10 +60,7 @@ int main(int argc, char *argv[])
QGuiApplication::setApplicationName("Gallery");
QGuiApplication::setOrganizationName("QtProject");
- // Do not set HighDpiScaling for emulator, see QTBUG-64815
- if (qEnvironmentVariableIsEmpty("QTGLESSTREAM_DISPLAY")) {
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
- }
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);