From e4885e438b081349348753466c4f690e5760b990 Mon Sep 17 00:00:00 2001 From: ann0see <20726856+ann0see@users.noreply.github.com> Date: Wed, 7 Aug 2024 22:40:36 +0200 Subject: [PATCH] Make about dialog show up as fullscreen on iOS Fixes an overflow bug for the about dialog on iOS. Related to: #3343 --- src/util.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util.cpp b/src/util.cpp index cdbcee448e..32b11c184a 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -771,6 +771,11 @@ CAboutDlg::CAboutDlg ( QWidget* parent ) : CBaseDlg ( parent ) // set window title setWindowTitle ( tr ( "About %1" ).arg ( APP_NAME ) ); + +# if defined( Q_OS_IOS ) + // for iOS version maximize the window + setWindowState ( Qt::WindowMaximized ); +# endif } // Licence dialog --------------------------------------------------------------