Skip to content
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: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Jul 10, 2006
1 parent 09d8277 commit 91f2348
Showing 1 changed file with 6 additions and 0 deletions.
@@ -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)"));
mActionHelpContents->setShortcut(tr("F1","Help Documentation"));
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"));
mActionQgisHomePage->setStatusTip(tr("QGIS Home Page"));
connect(mActionQgisHomePage, SIGNAL(triggered()), this, SLOT(helpQgisHomePage()));

0 comments on commit 91f2348

Please sign in to comment.