diff options
Diffstat (limited to 'examples/activeqt')
-rw-r--r-- | examples/activeqt/comapp/main.cpp | 1 | ||||
-rw-r--r-- | examples/activeqt/mediaplayer/main.cpp | 1 | ||||
-rw-r--r-- | examples/activeqt/opengl/main.cpp | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/examples/activeqt/comapp/main.cpp b/examples/activeqt/comapp/main.cpp index 8cc34bf..3d98555 100644 --- a/examples/activeqt/comapp/main.cpp +++ b/examples/activeqt/comapp/main.cpp @@ -248,7 +248,6 @@ QAXFACTORY_END() //! [6] //! [7] int main(int argc, char *argv[]) { - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); app.setQuitOnLastWindowClosed(false); diff --git a/examples/activeqt/mediaplayer/main.cpp b/examples/activeqt/mediaplayer/main.cpp index 2f84d83..bcca226 100644 --- a/examples/activeqt/mediaplayer/main.cpp +++ b/examples/activeqt/mediaplayer/main.cpp @@ -173,7 +173,6 @@ void MainWindow::updateWindowTitle(const QString &state) int main(int argc, char *argv[]) { - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); QCoreApplication::setApplicationVersion(QT_VERSION_STR); QCoreApplication::setApplicationName(QLatin1String("Active Qt Media Player")); diff --git a/examples/activeqt/opengl/main.cpp b/examples/activeqt/opengl/main.cpp index a3de04b..95fccb5 100644 --- a/examples/activeqt/opengl/main.cpp +++ b/examples/activeqt/opengl/main.cpp @@ -76,7 +76,6 @@ QAXFACTORY_END() int main(int argc, char *argv[]) { - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication a(argc,argv); if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGL) { |