Drop Qt5: Debugger: Get rid of QOverload

Change-Id: Ic62a3173adeffdfa78a47849cf1ceaa4f59b8091
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2022-07-19 23:23:34 +02:00
parent 5b3927869c
commit 1b070bcb11
11 changed files with 13 additions and 17 deletions

View File

@@ -45,8 +45,7 @@ void StackTreeView::setModel(QAbstractItemModel *model)
if (model)
setRootIndex(model->index(0, 0, QModelIndex()));
connect(static_cast<StackHandler*>(model), &StackHandler::stackChanged,
this, [this]() {
connect(static_cast<StackHandler*>(model), &StackHandler::stackChanged, this, [this] {
if (!m_contentsAdjusted)
adjustForContents();
});