diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-04-24 16:31:45 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-04-24 16:31:45 +0200 |
commit | 78be08b8e18a44f5ab77484f5c28933d91a71aaf (patch) | |
tree | 9d1239bf166dd855ebc560945a36b1bb27e6a3e6 /src/urlbar/urlbar.cpp | |
parent | Merge commit 'refs/merge-requests/2250' of git://gitorious.org/rekonq/mainlin... (diff) | |
parent | Re-remove linedit after rebase (diff) | |
download | rekonq-78be08b8e18a44f5ab77484f5c28933d91a71aaf.tar.xz |
Merge commit 'refs/merge-requests/2251' of git://gitorious.org/rekonq/mainline into m2251
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r-- | src/urlbar/urlbar.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index 6d255c02..d7fc7199 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -63,6 +63,10 @@ IconButton::IconButton(QWidget *parent) setCursor(Qt::ArrowCursor); } +void IconButton::mouseReleaseEvent(QMouseEvent* event) +{ + emit clicked(event->globalPos()); +} // ----------------------------------------------------------------------------------------------------------- @@ -282,7 +286,7 @@ void UrlBar::loadFinished() if(_tab->hasRSSInfo()) { IconButton *bt = addRightIcon(UrlBar::RSS); - connect(bt, SIGNAL(clicked()), _tab, SLOT(showRSSInfo())); + connect(bt, SIGNAL(clicked(QPoint)), _tab, SLOT(showRSSInfo(QPoint))); } // show SSL |