diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-08-09 16:06:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 39af36185e1eee1647ce682cf7689a86ffb8a56b (patch) | |
tree | 8ea415f901aa0a03a9d546cb3b34668701630f6f | |
parent | Moved the bookmark toolbar to be a... toolbar!!! (diff) | |
download | rekonq-39af36185e1eee1647ce682cf7689a86ffb8a56b.tar.xz |
KHelpMenu
-rw-r--r-- | src/webwindow/rekonqfactory.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/webwindow/rekonqfactory.cpp b/src/webwindow/rekonqfactory.cpp index c8aaeb09..78cd0367 100644 --- a/src/webwindow/rekonqfactory.cpp +++ b/src/webwindow/rekonqfactory.cpp @@ -30,7 +30,9 @@ #include "rekonqmenu.h" #include <KActionCollection> +#include <KCmdLineArgs> #include <KMenu> +#include <KHelpMenu> #include <KStandardDirs> #include <KToolBar> @@ -120,7 +122,12 @@ QWidget *RekonqFactory::createWidget(const QString &name, QWidget *parent, KActi fillMenu(m, node, ac); return m; } - else + else if (name == QL1S("help")) + { + KHelpMenu *m = new KHelpMenu(parent, KCmdLineArgs::aboutData()); + return m->menu(); + } + else { KMenu *m = new KMenu(parent); fillMenu(m, node, ac); |