Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/chatdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,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 );

Expand Down