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 Aug 24, 2024
1 parent 5800001 commit e4885e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 --------------------------------------------------------------
Expand Down

0 comments on commit e4885e4

Please sign in to comment.