Terminal: Return true in base resizePty implementation

If there is no real pty we should return true, otherwise terminals
without a pty stop working correctly
(see compiler explorer output terminal)

Amends: 4a6fc56556

Change-Id: Id9cb59ac289d98c64e3cf930e97ed5e71f76380e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Marcus Tillmanns
2025-04-24 17:00:44 +02:00
parent ed7191e58f
commit 87000ab8a0

View File

@@ -128,7 +128,7 @@ public:
virtual bool resizePty(QSize newSize)
{
Q_UNUSED(newSize)
return false;
return true;
}
virtual void setClipboard(const QString &text) { Q_UNUSED(text) }