diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-27 10:51:39 +0100 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-27 10:51:39 +0100 | 
| commit | dcfc088a0ac1abc7760db2c47caf8a70165f6ea6 (patch) | |
| tree | 9bf7e7dc700dcd78041bd24856bb4e8a0e0f86a6 | |
| parent | Merge commit 'refs/merge-requests/1918' of git://gitorious.org/rekonq/mainlin... (diff) | |
| parent | add middle click action on favorite preview (diff) | |
| download | rekonq-dcfc088a0ac1abc7760db2c47caf8a70165f6ea6.tar.xz | |
Merge commit 'refs/merge-requests/1925' of git://gitorious.org/rekonq/mainline into Tue1925
| -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);  } | 
