Skip to content

Commit cd9a6b8

Browse files
author
wonder
committed
commented out testing labeling tool to avoid confusion what's that for :)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12142 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ca3c014 commit cd9a6b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/plugins/labeling/labeling.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,12 @@ void Labeling::initGui()
117117
mQGisIface->addToolBarIcon( mQActionPointer );
118118
mQGisIface->addPluginToMenu( tr( "&Labeling" ), mQActionPointer );
119119

120+
/*
121+
// for testing only
120122
mActionTool = new QAction( "Ltool", this );
121123
mQGisIface->addToolBarIcon( mActionTool );
122124
connect( mActionTool, SIGNAL( triggered() ), this, SLOT( setTool() ) );
125+
*/
123126

124127
mTool = new LabelingTool( mLBL, mQGisIface->mapCanvas() );
125128

@@ -204,8 +207,11 @@ void Labeling::unload()
204207
mQGisIface->removeToolBarIcon( mQActionPointer );
205208
delete mQActionPointer;
206209

210+
/*
211+
// for testing only
207212
mQGisIface->removeToolBarIcon( mActionTool );
208213
delete mActionTool;
214+
*/
209215

210216
delete mLBL;
211217
}

0 commit comments

Comments
 (0)