Commit 050ca17b authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Remove unused signal

parent dce90030
......@@ -252,7 +252,6 @@ void ViewManager::setupActions()
}
connect(_viewContainer, &TabbedViewContainer::viewAdded, this, &ViewManager::toggleActionsBasedOnState);
connect(_viewContainer, &TabbedViewContainer::viewRemoved, this, &ViewManager::toggleActionsBasedOnState);
connect(_viewContainer, &QTabWidget::currentChanged, this, &ViewManager::toggleActionsBasedOnState);
toggleActionsBasedOnState();
......@@ -690,17 +689,10 @@ TabbedViewContainer *ViewManager::createContainer()
containerViewsChanged(container);
});
connect(container, &Konsole::TabbedViewContainer::viewRemoved, this,
[this, container]() {
containerViewsChanged(container);
});
connect(container, &TabbedViewContainer::newViewRequest,
this, &ViewManager::newViewRequest);
connect(container, &Konsole::TabbedViewContainer::newViewWithProfileRequest,
this, &Konsole::ViewManager::newViewWithProfileRequest);
connect(container, &Konsole::TabbedViewContainer::viewRemoved, this,
&Konsole::ViewManager::viewDestroyed);
connect(container, &Konsole::TabbedViewContainer::activeViewChanged, this,
&Konsole::ViewManager::activateView);
......
......@@ -187,9 +187,6 @@ Q_SIGNALS:
/** Emitted when a view is added to the container. */
void viewAdded(TerminalDisplay *view);
/** Emitted when a view is removed from the container. */
void viewRemoved(TerminalDisplay *view);
/** detach the specific tab */
void detachTab(int tabIdx);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment