Skip to content

Commit e8ceadf

Browse files
author
wonder
committedNov 16, 2009
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
1 parent b3f8270 commit e8ceadf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/plugins/labeling/labeling.cpp

Lines changed: 6 additions & 0 deletions
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)
Please sign in to comment.