[QGIS Commit] r14109 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 18 17:38:08 EDT 2010


Author: jef
Date: 2010-08-18 21:38:08 +0000 (Wed, 18 Aug 2010)
New Revision: 14109

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
make toolbuttons delayed

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2010-08-18 20:47:46 UTC (rev 14108)
+++ trunk/qgis/src/app/qgisapp.cpp	2010-08-18 21:38:08 UTC (rev 14109)
@@ -1712,7 +1712,6 @@
   QToolButton *bt = new QToolButton( mAttributesToolBar );
   QMenu *menu = new QMenu( bt );
   bt->setMenu( menu );
-  bt->setPopupMode( QToolButton::InstantPopup );
   menu->addAction( mActionSelect );
   menu->addAction( mActionSelectRectangle );
   menu->addAction( mActionSelectPolygon );
@@ -1728,7 +1727,6 @@
   bt = new QToolButton( mAttributesToolBar );
   menu = new QMenu( bt );
   bt->setMenu( menu );
-  bt->setPopupMode( QToolButton::InstantPopup );
   menu->addAction( mActionMeasure );
   menu->addAction( mActionMeasureArea );
   menu->addAction( mActionMeasureAngle );



More information about the QGIS-commit mailing list