Skip to content

Commit

Permalink
Make about dialog show up as fullscreen on iOS
Browse files Browse the repository at this point in the history
Fixes an overflow bug for the about dialog on iOS.

Related to: #3343
  • Loading branch information
ann0see committed Oct 2, 2024
1 parent 4652c90 commit d8912aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,15 @@ CAboutDlg::CAboutDlg ( QWidget* parent ) : CBaseDlg ( parent )

// set window title
setWindowTitle ( tr ( "About %1" ).arg ( APP_NAME ) );

//### TODO: BEGIN ###//
// Test if the window also needs to be maximized on Android.
// Android has not been tested
# if defined( ANDROID ) || defined( Q_OS_IOS )
// for mobile version maximize the window
setWindowState ( Qt::WindowMaximized );
# endif
//### TODO: END ###//
}

// Licence dialog --------------------------------------------------------------
Expand Down

0 comments on commit d8912aa

Please sign in to comment.