diff src/MainWindow.cpp @ 367:3c8dccd0cafe

removed unhelpful help item from help menu
author matthiasm
date Tue, 15 Jul 2014 18:15:37 +0100
parents 6439ca6e7de1
children a848ca75b5d2
line wrap: on
line diff
--- a/src/MainWindow.cpp	Tue Jul 15 18:12:48 2014 +0100
+++ b/src/MainWindow.cpp	Tue Jul 15 18:15:37 2014 +0100
@@ -930,14 +930,15 @@
     IconLoader il;
 
     QString name = QApplication::applicationName();
-
-    QAction *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);
+    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"));