diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-03-13 00:23:00 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-13 00:23:00 +0100 |
commit | f6cc2c5c13fbc219a6bc3391994b6cdeca44dd10 (patch) | |
tree | 9b4c20c4ec3e9c5f50b780267bd63fe8751bb8cf /src/urlbar | |
parent | Let rekonq load urls on new tabs on sites checking the referer ;) (diff) | |
download | rekonq-f6cc2c5c13fbc219a6bc3391994b6cdeca44dd10.tar.xz |
Get sure urlbar(s) are deleted when related webtab is
Heinz, Paul. Please test actual master before backporting this to
0.9 series. Many thanks for your help and for this bug report.
I'm crossing fingers to hear good news from your tests ;)
CCBUG:295301
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlbar.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index df1ee696..43109db3 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -137,7 +137,7 @@ UrlBar::UrlBar(QWidget *parent) this, SLOT(updateRightIcons())); // bookmark icon - connect(rApp->bookmarkManager(), SIGNAL(bookmarksUpdated()),this, SLOT(updateRightIcons())); + connect(rApp->bookmarkManager(), SIGNAL(bookmarksUpdated()), this, SLOT(updateRightIcons())); _suggestionTimer->setSingleShot(true); connect(_suggestionTimer, SIGNAL(timeout()), this, SLOT(suggest())); @@ -151,6 +151,8 @@ UrlBar::~UrlBar() _suggestionTimer->stop(); activateSuggestions(false); _box.clear(); + + disconnect(); } @@ -428,7 +430,7 @@ void UrlBar::showBookmarkInfo(QPoint pos) else { BookmarkWidget *widget = new BookmarkWidget(bookmark, window()); - connect(widget, SIGNAL(updateIcon()), this, SLOT(updateRightIcons())); +// connect(widget, SIGNAL(updateIcon()), this, SLOT(updateRightIcons())); widget->showAt(pos); } } |