summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.cpp
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-04-21 11:53:32 +0200
committermatgic78 <matgic78@gmail.com>2010-04-23 11:32:41 +0200
commite30a962d8bb9bc5018ba121a4046132a59f6e1c3 (patch)
tree2444ba79cdffdd4a4735011f4b321c7015f4a515 /src/urlbar/urlbar.cpp
parentMerge branch 'master' of gitorious.org:rekonq/mainline (diff)
downloadrekonq-e30a962d8bb9bc5018ba121a4046132a59f6e1c3.tar.xz
Akregator RSS support
Diffstat (limited to 'src/urlbar/urlbar.cpp')
-rw-r--r--src/urlbar/urlbar.cpp6
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