aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_bsplugins/src/GUI/IconDelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_bsplugins/src/GUI/IconDelegate.cpp')
-rw-r--r--libs/installer_bsplugins/src/GUI/IconDelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/installer_bsplugins/src/GUI/IconDelegate.cpp b/libs/installer_bsplugins/src/GUI/IconDelegate.cpp
index ff99405..84184cc 100644
--- a/libs/installer_bsplugins/src/GUI/IconDelegate.cpp
+++ b/libs/installer_bsplugins/src/GUI/IconDelegate.cpp
@@ -23,7 +23,7 @@ IconDelegate::IconDelegate(QTreeView* view, int column, int compactSize)
{
if (view) {
connect(view->header(), &QHeaderView::sectionResized,
- [=](int logicalIndex, [[maybe_unused]] int oldSize, int newSize) {
+ [this](int logicalIndex, [[maybe_unused]] int oldSize, int newSize) {
if (logicalIndex == m_Column) {
m_Compact = newSize < m_CompactSize;
}