From 3bdf6bbe8ce76e0507a0dadc1a2ded35398dae54 Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Fri, 16 Mar 2012 10:22:40 +0800 Subject: [PATCH] Remove unused signal: ViewContainer::closeRequest(QWidget*) --- src/ViewContainer.h | 3 --- src/ViewManager.cpp | 1 - 2 files changed, 4 deletions(-) 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;