diff --git a/src/ViewContainer.h b/src/ViewContainer.h index f5377fae2..33fa336db 100644 --- a/src/ViewContainer.h +++ b/src/ViewContainer.h @@ -263,9 +263,6 @@ signals: /** Emitted when the container has no more children */ void empty(ViewContainer* container); - /** Emitted when the user requests to close a view */ - void closeRequest(QWidget* activeView); - /** Emitted when the user requests to open a new view */ void newViewRequest(); diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index ff3284409..43e38dd7b 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -651,7 +651,6 @@ ViewContainer* ViewManager::createContainer() connect(container, SIGNAL(moveViewRequest(int,int,bool&)), this , SLOT(containerMoveViewRequest(int,int,bool&))); connect(container , SIGNAL(viewRemoved(QWidget*)) , this , SLOT(viewCloseRequest(QWidget*))); - connect(container , SIGNAL(closeRequest(QWidget*)) , this , SLOT(viewCloseRequest(QWidget*))); connect(container , SIGNAL(activeViewChanged(QWidget*)) , this , SLOT(viewActivated(QWidget*))); return container;