From 882de6d36aaa371778d4531add068fde7535fde7 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Wed, 17 Jan 2024 00:30:56 +0100 Subject: [PATCH] SplitInput: unused param --- src/widgets/splits/SplitInput.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index 8c9a0bfa5..b6ddebdda 100644 --- a/src/widgets/splits/SplitInput.cpp +++ b/src/widgets/splits/SplitInput.cpp @@ -1064,8 +1064,10 @@ void SplitInput::paintEvent(QPaintEvent * /*event*/) } } -void SplitInput::resizeEvent(QResizeEvent *) +void SplitInput::resizeEvent(QResizeEvent *event) { + (void)event; + if (this->height() == this->maximumHeight()) { this->ui_.textEdit->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);