Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
050ca17b
Commit
050ca17b
authored
Jan 25, 2021
by
Tomaz Canabrava
Browse files
Remove unused signal
parent
dce90030
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ViewManager.cpp
View file @
050ca17b
...
...
@@ -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
);
...
...
src/widgets/ViewContainer.h
View file @
050ca17b
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment