From 386ddf72d1e72a9d5a21aa5a01dfdb6fcf876f86 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 13 Sep 2024 10:28:08 +0200 Subject: [PATCH] deprecation warning suppressed --- playground/webview/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/webview/main.cpp b/playground/webview/main.cpp index f4a4294b..68b3dcbd 100644 --- a/playground/webview/main.cpp +++ b/playground/webview/main.cpp @@ -40,9 +40,9 @@ int main( int argc, char* argv[] ) #if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) // namespace QtWebEngine doesn't exist in Qt6: https://doc.qt.io/qt-5/qtwebengine.html QtWebEngine::initialize(); + QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication app( argc, argv ); SkinnyShortcut::enable( SkinnyShortcut::Quit | SkinnyShortcut::DebugShortcuts );