diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-28 11:38:07 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-08-28 20:08:43 +0200 |
commit | dce106c77cc2ecf58ceb38a041698dc35a80183c (patch) | |
tree | 30b698675f905b9d3a7bd265b297096feac80648 /examples/widgets/mainwindows/mainwindow | |
parent | 891fc4b42be2a56b61d1784898e8d0a9107e5055 (diff) |
High-DPI: Remove usage of Qt::AA_EnableHighDpiScaling
This attribute is now on by default.
Change-Id: I7c9d2e3445d204d3450758673048d514bc9c850c
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/widgets/mainwindows/mainwindow')
-rw-r--r-- | examples/widgets/mainwindows/mainwindow/main.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/widgets/mainwindows/mainwindow/main.cpp b/examples/widgets/mainwindows/mainwindow/main.cpp index dcaabd195f..b68be3cdf6 100644 --- a/examples/widgets/mainwindows/mainwindow/main.cpp +++ b/examples/widgets/mainwindows/mainwindow/main.cpp @@ -175,7 +175,6 @@ static ParseCommandLineArgumentsResult int main(int argc, char **argv) { - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); MainWindow::CustomSizeHintMap customSizeHints; switch (parseCustomSizeHints(QCoreApplication::arguments(), &customSizeHints)) { |