ExtensionManagerWidget: Fix warning about unused arg

Amends f97fd83fc9

Change-Id: I540a3a8916bb7de363aacf309ca2474b221add78
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Jarek Kobus
2023-12-11 13:30:02 +01:00
parent f97fd83fc9
commit a9721c5f34

View File

@@ -106,8 +106,7 @@ ExtensionManagerWidget::ExtensionManagerWidget()
connect(m_leftColumn, &ExtensionsBrowser::itemSelected, connect(m_leftColumn, &ExtensionsBrowser::itemSelected,
this, &ExtensionManagerWidget::updateView); this, &ExtensionManagerWidget::updateView);
connect(this, &ResizeSignallingWidget::resized, this, connect(this, &ResizeSignallingWidget::resized, this, [this](const QSize &size) {
[this] (const QSize &size, const QSize &oldSize) {
const int intendedLeftColumnWidth = size.width() - 580; const int intendedLeftColumnWidth = size.width() - 580;
m_leftColumn->adjustToWidth(intendedLeftColumnWidth); m_leftColumn->adjustToWidth(intendedLeftColumnWidth);
const bool secondaryDescriptionVisible = size.width() > 970; const bool secondaryDescriptionVisible = size.width() > 970;