From 763627a8aa5f34ed90cad21a8df6d37c195ceaf5 Mon Sep 17 00:00:00 2001 From: jrd Date: Thu, 23 Jul 2026 22:42:27 +0000 Subject: [PATCH] Make chat dialog show up as fullscreen on iOS The chat dialog overflowed the screen on iOS because it never set Qt::WindowMaximized, unlike the connect dialog and about dialog which were fixed for the same symptom in #3343 (commit 40e5af1). This applies the identical, already-merged pattern to the third and last affected dialog. Fixes #3383 Co-Authored-By: Claude Opus 4.8 --- src/chatdlg.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/chatdlg.cpp b/src/chatdlg.cpp index d49a716fb9..7a5433b6c2 100644 --- a/src/chatdlg.cpp +++ b/src/chatdlg.cpp @@ -93,6 +93,11 @@ CChatDlg::CChatDlg ( QWidget* parent ) : CBaseDlg ( parent, Qt::Window ) // use // Now tell the layout about the menu layout()->setMenuBar ( pMenu ); +#if defined( ANDROID ) || defined( Q_OS_IOS ) + // for the Android and iOS version maximize the window (#3383) + setWindowState ( Qt::WindowMaximized ); +#endif + // Connections ------------------------------------------------------------- QObject::connect ( edtLocalInputText, &QLineEdit::textChanged, this, &CChatDlg::OnLocalInputTextTextChanged );