diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-11-12 23:17:53 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:06 +0100 |
commit | 1abe5bb570f5431238fb8c50889657d33ca3e934 (patch) | |
tree | 2f53f0a37f7958883f4efcbacdcd8c64e0e56ce0 /src/urlbar/listitem.cpp | |
parent | Do not lock UI when add/insert tabs (diff) | |
download | rekonq-1abe5bb570f5431238fb8c50889657d33ca3e934.tar.xz |
Fix crash on control click on suggestions list
Courtesy patch by Mathias Kraus.
Thanks :)
CCMAIL: k.hias@gmx.de
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r-- | src/urlbar/listitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index f001c47b..52f05f1b 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -134,7 +134,7 @@ void ListItem::leaveEvent(QEvent *e) void ListItem::mousePressEvent(QMouseEvent *e) { emit itemClicked(this, e->button(), e->modifiers()); - QWidget::mousePressEvent(e); + e->accept(); } |