forked from qt-creator/qt-creator
Drop Qt5: Core: Get rid of QOverload
Change-Id: Ibaebd83304680156e13a9ebc473075ad2a4bfed4 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -221,7 +221,7 @@ void FancyTabBar::mousePressEvent(QMouseEvent *event)
|
||||
m_currentIndex = index;
|
||||
update();
|
||||
// update tab bar before showing widget
|
||||
QMetaObject::invokeMethod(this, [this]() {
|
||||
QMetaObject::invokeMethod(this, [this] {
|
||||
emit currentChanged(m_currentIndex);
|
||||
}, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user