Skip to content

Commit 7258a55

Browse files
authored
Merge pull request #3344 from ann0see/iOS/fixAboutDlgOverflow
2 parents 6b340f5 + d8912aa commit 7258a55

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/util.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,15 @@ CAboutDlg::CAboutDlg ( QWidget* parent ) : CBaseDlg ( parent )
771771

772772
// set window title
773773
setWindowTitle ( tr ( "About %1" ).arg ( APP_NAME ) );
774+
775+
//### TODO: BEGIN ###//
776+
// Test if the window also needs to be maximized on Android.
777+
// Android has not been tested
778+
# if defined( ANDROID ) || defined( Q_OS_IOS )
779+
// for mobile version maximize the window
780+
setWindowState ( Qt::WindowMaximized );
781+
# endif
782+
//### TODO: END ###//
774783
}
775784

776785
// Licence dialog --------------------------------------------------------------

0 commit comments

Comments
 (0)