Skip to content
Permalink
Browse files

commented out testing labeling tool to avoid confusion what's that fo…

…r :)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12142 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Nov 16, 2009
1 parent ca3c014 commit cd9a6b8e2a45aa7f047d65412405a4e2b4fb8906
Showing with 6 additions and 0 deletions.
  1. +6 −0 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;
}

0 comments on commit cd9a6b8

Please sign in to comment.
You can’t perform that action at this time.