summaryrefslogtreecommitdiff
path: root/src/urlbar/urlbar.cpp
diff options
context:
space:
mode:
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