File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,12 @@ void Labeling::initGui()
117
117
mQGisIface ->addToolBarIcon ( mQActionPointer );
118
118
mQGisIface ->addPluginToMenu ( tr ( " &Labeling" ), mQActionPointer );
119
119
120
+ /*
121
+ // for testing only
120
122
mActionTool = new QAction( "Ltool", this );
121
123
mQGisIface->addToolBarIcon( mActionTool );
122
124
connect( mActionTool, SIGNAL( triggered() ), this, SLOT( setTool() ) );
125
+ */
123
126
124
127
mTool = new LabelingTool ( mLBL , mQGisIface ->mapCanvas () );
125
128
@@ -204,8 +207,11 @@ void Labeling::unload()
204
207
mQGisIface ->removeToolBarIcon ( mQActionPointer );
205
208
delete mQActionPointer ;
206
209
210
+ /*
211
+ // for testing only
207
212
mQGisIface->removeToolBarIcon( mActionTool );
208
213
delete mActionTool;
214
+ */
209
215
210
216
delete mLBL ;
211
217
}
You can’t perform that action at this time.
0 commit comments