diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-04-25 08:59:47 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-04-25 09:02:06 +0200 |
commit | 072490b92b33bd37672e4ac34d3b7df0705c84ae (patch) | |
tree | 493d44450ba062e80aad2048e41e8fd0ce74a91a /src/tabwindow | |
parent | Changes order of link actions for link context menu (diff) | |
download | rekonq-072490b92b33bd37672e4ac34d3b7df0705c84ae.tar.xz |
appmenu-qt support :)
BUG: 309148
Diffstat (limited to 'src/tabwindow')
-rw-r--r-- | src/tabwindow/rekonqwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tabwindow/rekonqwindow.cpp b/src/tabwindow/rekonqwindow.cpp index e67e21c8..c0785b67 100644 --- a/src/tabwindow/rekonqwindow.cpp +++ b/src/tabwindow/rekonqwindow.cpp @@ -36,6 +36,7 @@ #include "tabwidget.h" #include "tabbar.h" +#include "rekonqfactory.h" #include "webpage.h" #include "webwindow.h" @@ -47,6 +48,7 @@ // Qt Includes #include <QVBoxLayout> #include <QSizePolicy> +#include <QDBusConnection> RekonqWindow::RekonqWindow(bool withTab, bool privateBrowsingMode, QWidget *parent) @@ -97,6 +99,10 @@ void RekonqWindow::init() // signals connect(_tabWidget, SIGNAL(closeWindow()), this, SLOT(close())); connect(_tabWidget, SIGNAL(windowTitleChanged(QString)), this, SLOT(setWindowTitle(QString))); + + // This is needed to properly support appmenu-qt feature + RekonqFactory::createWidget(QL1S("menuBar"), this); + QDBusConnection::sessionBus().registerObject(QL1S("rekonq"), this); } // -------------------------------------------------------------------------------------------------- |