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 Sep 22, 2024
1 parent 4652c90 commit 16af636
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 16af636

Please sign in to comment.