diff options
Diffstat (limited to 'src')
-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); } |