Skip to content

Commit

Permalink
commented out testing labeling tool to avoid confusion what's that fo…
Browse files Browse the repository at this point in the history
…r :)

git-svn-id: http://svn.osgeo.org/qgis/trunk@12142 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 16, 2009
1 parent b3f8270 commit e8ceadf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/plugins/labeling/labeling.cpp
Expand Up @@ -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() );

Expand Down Expand Up @@ -204,8 +207,11 @@ void Labeling::unload()
mQGisIface->removeToolBarIcon( mQActionPointer );
delete mQActionPointer;

/*
// for testing only
mQGisIface->removeToolBarIcon( mActionTool );
delete mActionTool;
*/

delete mLBL;
}
Expand Down

0 comments on commit e8ceadf

Please sign in to comment.