Skip to content

Commit 8b52395

Browse files
author
wonder
committed
Fix r15383 on Mac.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15387 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 978b100 commit 8b52395

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/qgisapp.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -807,17 +807,15 @@ void QgisApp::createActions()
807807
// Window Menu Items
808808

809809
mActionWindowMinimize = new QAction( tr( "Minimize" ), this );
810-
shortcuts->registerAction( mActionWindowMinimize, tr( "Ctrl+M", "Minimize Window" ) );
810+
mActionWindowMinimize->setShortcut( tr( "Ctrl+M", "Minimize Window" ) );
811811
mActionWindowMinimize->setStatusTip( tr( "Minimizes the active window to the dock" ) );
812812
connect( mActionWindowMinimize, SIGNAL( triggered() ), this, SLOT( showActiveWindowMinimized() ) );
813813

814814
mActionWindowZoom = new QAction( tr( "Zoom" ), this );
815-
shortcuts->registerAction( mActionWindowZoom );
816815
mActionWindowZoom->setStatusTip( tr( "Toggles between a predefined size and the window size set by the user" ) );
817816
connect( mActionWindowZoom, SIGNAL( triggered() ), this, SLOT( toggleActiveWindowMaximized() ) );
818817

819818
mActionWindowAllToFront = new QAction( tr( "Bring All to Front" ), this );
820-
shortcuts->registerAction( mActionWindowAllToFront );
821819
mActionWindowAllToFront->setStatusTip( tr( "Bring forward all open windows" ) );
822820
connect( mActionWindowAllToFront, SIGNAL( triggered() ), this, SLOT( bringAllToFront() ) );
823821

0 commit comments

Comments
 (0)