diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-06 00:41:22 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-06 00:41:22 +0200 |
commit | 84239c0babad3b46d1ed4458bcaedff730997829 (patch) | |
tree | f1f61ac209a9c9303d833ee41bef8ea30a5610e0 /src/previewimage.cpp | |
parent | cursor:pointer over thumbnails (diff) | |
download | rekonq-84239c0babad3b46d1ed4458bcaedff730997829.tar.xz |
I apologize for this. As said, I use no mouse and I couldn't
argue this strange GUI behaviour
Revert "- Cleaning mouse gesture managements"
This reverts commit 0c71d428f284675c658c55d2f3d9f858ad78c850.
Diffstat (limited to 'src/previewimage.cpp')
-rw-r--r-- | src/previewimage.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/previewimage.cpp b/src/previewimage.cpp index 94f5061f..60207fb3 100644 --- a/src/previewimage.cpp +++ b/src/previewimage.cpp @@ -30,7 +30,6 @@ #include <QFile> #include <QMovie> -#include <QMouseEvent> #include <KUrl> #include <KStandardDirs> @@ -84,17 +83,8 @@ void PreviewImage::setSiteImage() void PreviewImage::mousePressEvent(QMouseEvent *event) { - switch(event->button()) - { - case Qt::LeftButton: - Application::instance()->loadUrl(m_url); - break; - case Qt::RightButton: - // TODO - break; - default: - QLabel::mousePressEvent(event); - }; + Q_UNUSED(event) + Application::instance()->loadUrl(m_url); } |