summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-03-30 02:07:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-03-30 02:07:25 +0200
commit428bf09a4e7ae01b40d24c74f8abe6b735e1c62b (patch)
tree4684dd80273dbea84e135805b1befbf89f28e2ef /src/urlbar/listitem.cpp
parentadd title for bookmarks in the list (diff)
parentAdd mid click support for the completition widget of the url bar (diff)
downloadrekonq-428bf09a4e7ae01b40d24c74f8abe6b735e1c62b.tar.xz
Merge commit 'refs/merge-requests/110' of git://gitorious.org/rekonq/mainline into m110
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r--src/urlbar/listitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index 92951cb7..d9837c7e 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -44,6 +44,7 @@
#include <QPixmap>
#include <QStylePainter>
#include <QFile>
+#include <QMouseEvent>
ListItem::ListItem(const UrlSearchItem &item, QWidget *parent)
: QWidget(parent),
@@ -167,7 +168,7 @@ void ListItem::leaveEvent(QEvent *e)
void ListItem::mousePressEvent(QMouseEvent *e)
{
- emit itemClicked(this);
+ emit itemClicked(this, e->button());
QWidget::mousePressEvent(e);
}