diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-10-26 22:55:19 +0100 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-10-26 22:55:19 +0100 |
commit | 492dd38e9b2ed389ba1a93964b2a2d481c10fe6b (patch) | |
tree | 20bb97888c08aa389cabba1be389b7faa553aeb3 /src/previewimage.cpp | |
parent | keep trailing slashes (BUG 211913) (diff) | |
download | rekonq-492dd38e9b2ed389ba1a93964b2a2d481c10fe6b.tar.xz |
add middle click action on favorite preview
Diffstat (limited to 'src/previewimage.cpp')
-rw-r--r-- | src/previewimage.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/previewimage.cpp b/src/previewimage.cpp index 5b4d1efd..1c554cb9 100644 --- a/src/previewimage.cpp +++ b/src/previewimage.cpp @@ -267,7 +267,13 @@ void PreviewImage::mousePressEvent(QMouseEvent *event) { Application::instance()->loadUrl(m_url); return; - }; + } + else if(event->button() == Qt::MidButton) + { + Application::instance()->loadUrl(m_url, Rekonq::SettingOpenTab); + return; + } + QWidget::mousePressEvent(event); } |