diff options
Diffstat (limited to 'src/tabwindow/rekonqwindow.cpp')
-rw-r--r-- | src/tabwindow/rekonqwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tabwindow/rekonqwindow.cpp b/src/tabwindow/rekonqwindow.cpp index c0785b67..31af5387 100644 --- a/src/tabwindow/rekonqwindow.cpp +++ b/src/tabwindow/rekonqwindow.cpp @@ -99,12 +99,18 @@ void RekonqWindow::init() // signals connect(_tabWidget, SIGNAL(closeWindow()), this, SLOT(close())); connect(_tabWidget, SIGNAL(windowTitleChanged(QString)), this, SLOT(setWindowTitle(QString))); - + connect(_tabWidget, SIGNAL(actionsReady()), this, SLOT(registerWindow())); +} + + +void RekonqWindow::registerWindow() +{ // This is needed to properly support appmenu-qt feature RekonqFactory::createWidget(QL1S("menuBar"), this); QDBusConnection::sessionBus().registerObject(QL1S("rekonq"), this); } + // -------------------------------------------------------------------------------------------------- |