qtquick: Remove two more unneeded signals

This commit is contained in:
Sergio Martins
2022-06-05 02:39:52 +01:00
parent 666d4be478
commit 6d926ee6e4
2 changed files with 3 additions and 6 deletions

View File

@@ -82,8 +82,8 @@ void Stack_qtquick::setCurrentDockWidget(int index)
if (m_currentDockWidget != dw) {
m_currentDockWidget = dw;
Q_EMIT currentDockWidgetChanged(dw);
Q_EMIT currentTabChanged(index);
Q_EMIT m_stack->currentDockWidgetChanged(dw);
Q_EMIT m_stack->currentTabChanged(index);
}
}

View File

@@ -67,10 +67,7 @@ public:
/// @brief Returns the stack controller associated with this view
Controllers::Stack *stack() const;
Q_SIGNALS: // TODOm2: Review these signals
void currentTabChanged(int index);
void currentDockWidgetChanged(KDDockWidgets::Controllers::DockWidget *dw);
Q_SIGNALS:
void tabBarChanged();
protected: