Remove unneeded emissions of currentDockWidgetChanged
It's now wrapped with a setter, so it's emitted at the right times always
This commit is contained in:
@@ -214,9 +214,7 @@ void DockWidgetModel::setCurrentIndex(int index)
|
||||
|
||||
if (m_currentDockWidget != dw) {
|
||||
setCurrentDockWidget(dw);
|
||||
Q_ASSERT(m_tabBar);
|
||||
m_tabBar->setCurrentIndex(index);
|
||||
Q_EMIT m_tabBar->currentDockWidgetChanged(dw);
|
||||
Q_EMIT m_tabBar->currentTabChanged(index);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user