[QGIS Commit] r12142 - trunk/qgis/src/plugins/labeling

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Nov 16 07:24:43 EST 2009


Author: wonder
Date: 2009-11-16 07:24:43 -0500 (Mon, 16 Nov 2009)
New Revision: 12142

Modified:
   trunk/qgis/src/plugins/labeling/labeling.cpp
Log:
commented out testing labeling tool to avoid confusion what's that for :)


Modified: trunk/qgis/src/plugins/labeling/labeling.cpp
===================================================================
--- trunk/qgis/src/plugins/labeling/labeling.cpp	2009-11-16 11:54:18 UTC (rev 12141)
+++ trunk/qgis/src/plugins/labeling/labeling.cpp	2009-11-16 12:24:43 UTC (rev 12142)
@@ -117,9 +117,12 @@
   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 @@
   mQGisIface->removeToolBarIcon( mQActionPointer );
   delete mQActionPointer;
 
+  /*
+  // for testing only
   mQGisIface->removeToolBarIcon( mActionTool );
   delete mActionTool;
+  */
 
   delete mLBL;
 }



More information about the QGIS-commit mailing list