Commit e426983d authored by Bernd Gehrmann's avatar Bernd Gehrmann

Don't show the what's this menu item

svn path=/trunk/kdesdk/cervisia/; revision=163419
parent 0be8d72d
#include "cervisiashell.h"
#include <kapplication.h>
#include <kconfig.h>
#include <kedittoolbar.h>
#include <kfiledialog.h>
#include <khelpmenu.h>
#include <kkeydialog.h>
#include <klocale.h>
#include <kstdaction.h>
......@@ -9,8 +12,6 @@
#include "cervisiapart.h"
#include "cervisiashell.h"
#include "cervisiashell.moc"
CervisiaShell::CervisiaShell( const char *name )
: KParts::MainWindow( name )
......@@ -46,6 +47,9 @@ CervisiaShell::~CervisiaShell()
void CervisiaShell::setupActions()
{
setHelpMenuEnabled(false);
(void) new KHelpMenu(this, instance()->aboutData(), false, actionCollection());
KAction* action = KStdAction::showToolbar( 0, 0, actionCollection() );
connect( action, SIGNAL(toggled(bool)),
this, SLOT(slotToggleToolbar( bool )) );
......@@ -142,6 +146,9 @@ void CervisiaShell::restorePseudo( const QString &dirname )
readProperties(config);
}
#include "cervisiashell.moc"
// Local Variables:
// c-basic-offset: 4
// End:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment