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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Mar 8 02:43:06 EST 2011


Author: wonder
Date: 2011-03-07 23:43:06 -0800 (Mon, 07 Mar 2011)
New Revision: 15387

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
Fix r15383 on Mac.


Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2011-03-08 07:33:53 UTC (rev 15386)
+++ trunk/qgis/src/app/qgisapp.cpp	2011-03-08 07:43:06 UTC (rev 15387)
@@ -807,17 +807,15 @@
   // Window Menu Items
 
   mActionWindowMinimize = new QAction( tr( "Minimize" ), this );
-  shortcuts->registerAction( mActionWindowMinimize, tr( "Ctrl+M", "Minimize Window" ) );
+  mActionWindowMinimize->setShortcut( tr( "Ctrl+M", "Minimize Window" ) );
   mActionWindowMinimize->setStatusTip( tr( "Minimizes the active window to the dock" ) );
   connect( mActionWindowMinimize, SIGNAL( triggered() ), this, SLOT( showActiveWindowMinimized() ) );
 
   mActionWindowZoom = new QAction( tr( "Zoom" ), this );
-  shortcuts->registerAction( mActionWindowZoom );
   mActionWindowZoom->setStatusTip( tr( "Toggles between a predefined size and the window size set by the user" ) );
   connect( mActionWindowZoom, SIGNAL( triggered() ), this, SLOT( toggleActiveWindowMaximized() ) );
 
   mActionWindowAllToFront = new QAction( tr( "Bring All to Front" ), this );
-  shortcuts->registerAction( mActionWindowAllToFront );
   mActionWindowAllToFront->setStatusTip( tr( "Bring forward all open windows" ) );
   connect( mActionWindowAllToFront, SIGNAL( triggered() ), this, SLOT( bringAllToFront() ) );
 



More information about the QGIS-commit mailing list