From e8ceadfbfaa4f43de40a908ed0ad62df7b7be50b Mon Sep 17 00:00:00 2001 From: wonder Date: Mon, 16 Nov 2009 12:24:43 +0000 Subject: [PATCH] commented out testing labeling tool to avoid confusion what's that for :) git-svn-id: http://svn.osgeo.org/qgis/trunk@12142 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/plugins/labeling/labeling.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/labeling/labeling.cpp b/src/plugins/labeling/labeling.cpp index 1d3166144ada..21dc16005a2b 100644 --- a/src/plugins/labeling/labeling.cpp +++ b/src/plugins/labeling/labeling.cpp @@ -117,9 +117,12 @@ void Labeling::initGui() mQGisIface->addToolBarIcon( mQActionPointer ); mQGisIface->addPluginToMenu( tr( "&Labeling" ), mQActionPointer ); + /* + // for testing only mActionTool = new QAction( "Ltool", this ); mQGisIface->addToolBarIcon( mActionTool ); connect( mActionTool, SIGNAL( triggered() ), this, SLOT( setTool() ) ); + */ mTool = new LabelingTool( mLBL, mQGisIface->mapCanvas() ); @@ -204,8 +207,11 @@ void Labeling::unload() mQGisIface->removeToolBarIcon( mQActionPointer ); delete mQActionPointer; + /* + // for testing only mQGisIface->removeToolBarIcon( mActionTool ); delete mActionTool; + */ delete mLBL; }