diff --git a/src/chatdlg.cpp b/src/chatdlg.cpp index 9f4b551082..fb5c7a4480 100644 --- a/src/chatdlg.cpp +++ b/src/chatdlg.cpp @@ -72,6 +72,15 @@ CChatDlg::CChatDlg ( QWidget* parent ) : CBaseDlg ( parent, Qt::Window ) // use // Now tell the layout about the menu layout()->setMenuBar ( pMenu ); + //### 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 ###// + // Connections ------------------------------------------------------------- QObject::connect ( edtLocalInputText, &QLineEdit::textChanged, this, &CChatDlg::OnLocalInputTextTextChanged );