From 4f1dae7834becb7d7105a0cc9945d9a0c04383b8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 11 Nov 2012 09:40:36 +0100 Subject: WARNING: BIG COMMIT This commit reviews and partially fix the Q/K action mess in rekonq code. We now store actions in different actioncollections (one for each tab && one for each window). Related to this code review, you can find also fixes for some triggered actions NOT working (well) before: - fullscreen - bookmark all tabs - new (clean) tab --- src/urlbar/urlbar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/urlbar') diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 9321d442..2b32738d 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -40,7 +40,6 @@ // Local Includes #include "adblockmanager.h" #include "bookmarkmanager.h" -#include "bookmarkowner.h" // FIXME: Why is this needed? Why everything interesting in BookmarkManager is in its owner? #include "iconmanager.h" #include "adblockwidget.h" @@ -726,7 +725,7 @@ void UrlBar::manageBookmarks() if (bookmark.isNull()) { - bookmark = BookmarkManager::self()->owner()->bookmarkCurrentPage(); + bookmark = BookmarkManager::self()->bookmarkCurrentPage(); } // calculate position -- cgit v1.2.1