summaryrefslogtreecommitdiff
path: root/src/webwindow/webwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow/webwindow.cpp')
-rw-r--r--src/webwindow/webwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp
index 864c79b5..ab002459 100644
--- a/src/webwindow/webwindow.cpp
+++ b/src/webwindow/webwindow.cpp
@@ -31,7 +31,9 @@
#include "rekonq.h"
#include "application.h"
-#include "tabwindow.h"
+#include "rekonqwindow.h"
+
+#include "tabwidget.h"
#include "adblockmanager.h"
#include "bookmarkmanager.h"
@@ -994,7 +996,7 @@ void WebWindow::keyBindings()
QPointer<KShortcutsDialog> dialog = new KShortcutsDialog(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsAllowed, this);
dialog->addCollection(actionCollection(), i18n("web window"));
- TabWindow *tw = rApp->tabWindow();
+ TabWidget *tw = rApp->rekonqWindow()->tabWidget();
if (tw)
{
dialog->addCollection(tw->actionCollection(), i18n("tab window"));