Mercurial > hg > tony
diff src/MainWindow.cpp @ 369:1cd445f9e1ca
new help url
author | matthiasm |
---|---|
date | Thu, 17 Jul 2014 14:37:22 +0100 |
parents | a848ca75b5d2 |
children | 49e38c6a8a47 d7d828d2b2a5 |
line wrap: on
line diff
--- a/src/MainWindow.cpp Wed Jul 16 14:35:00 2014 +0100 +++ b/src/MainWindow.cpp Thu Jul 17 14:37:22 2014 +0100 @@ -933,20 +933,21 @@ QString name = QApplication::applicationName(); QAction *action; - // action = new QAction(il.load("help"), - // tr("&Help Reference"), this); - // action->setShortcut(tr("F1")); - // action->setStatusTip(tr("Open the %1 reference manual").arg(name)); - // connect(action, SIGNAL(triggered()), this, SLOT(help())); - // m_keyReference->registerShortcut(action); - // menu->addAction(action); - action = new QAction(tr("&Key and Mouse Reference"), this); action->setShortcut(tr("F2")); action->setStatusTip(tr("Open a window showing the keystrokes you can use in %1").arg(name)); connect(action, SIGNAL(triggered()), this, SLOT(keyReference())); m_keyReference->registerShortcut(action); menu->addAction(action); + + action = new QAction(il.load("help"), + tr("&Help Reference"), this); + action->setShortcut(tr("F1")); + action->setStatusTip(tr("Open the %1 reference manual").arg(name)); + connect(action, SIGNAL(triggered()), this, SLOT(help())); + m_keyReference->registerShortcut(action); + menu->addAction(action); + action = new QAction(tr("%1 on the &Web").arg(name), this); action->setStatusTip(tr("Open the %1 website").arg(name)); @@ -3263,7 +3264,7 @@ MainWindow::help() { //!!! todo: help URL! - openHelpUrl(tr("http://code.soundsoftware.ac.uk/projects/tony/")); + openHelpUrl(tr("http://code.soundsoftware.ac.uk/projects/tony/wiki/Reference")); } void