Skip to content
Permalink
Browse files
For Mac OS X, use the standard Ctrl+? instead of F1 for the primary h…
…elp shortcut. Don't use Ctrl+H for anything since it will shadow the systemwide shortcut to hide the application.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5581 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Jul 10, 2006
1 parent ca51e25 commit b2dad3255af5f7f01a69f7868db280c6fa79f195
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/gui/qgisapp.cpp
@@ -477,12 +477,18 @@ void QgisApp::createActions()
// Help Menu Related items
//
mActionHelpContents= new QAction(QIcon(myIconPath+"/mActionHelpContents.png"), tr("Help Contents"), this);
#ifdef Q_WS_MAC
mActionHelpContents->setShortcut(tr("Ctrl+?","Help Documentation (Mac)"));
#else
mActionHelpContents->setShortcut(tr("F1","Help Documentation"));
#endif
mActionHelpContents->setStatusTip(tr("Help Documentation"));
connect(mActionHelpContents, SIGNAL(triggered()), this, SLOT(helpContents()));
//
mActionQgisHomePage= new QAction(QIcon(myIconPath+"/mActionQgisHomePage.png"), tr("Qgis Home Page"), this);
#ifndef Q_WS_MAC
mActionQgisHomePage->setShortcut(tr("Ctrl+H","QGIS Home Page"));
#endif
mActionQgisHomePage->setStatusTip(tr("QGIS Home Page"));
connect(mActionQgisHomePage, SIGNAL(triggered()), this, SLOT(helpQgisHomePage()));
//

0 comments on commit b2dad32

Please sign in to comment.