diff options
| author | Peter Penz <[email protected]> | 2008-12-09 17:49:09 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-09 17:49:09 +0000 |
| commit | 4e1c5471ef9f49c287b869310f0f8f20fa300a36 (patch) | |
| tree | ff40994db7793b7cf7bbc7f160288fc87c57e7bc /src | |
| parent | 2817e4a2adc2ebd7541ddced1925aa61e9142770 (diff) | |
a rubberband selection is only possible when using the left mouse button
svn path=/trunk/KDE/kdebase/apps/; revision=894969
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinviewautoscroller.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dolphinviewautoscroller.cpp b/src/dolphinviewautoscroller.cpp index de5e1e71f..5e9e17f1f 100644 --- a/src/dolphinviewautoscroller.cpp +++ b/src/dolphinviewautoscroller.cpp @@ -52,7 +52,9 @@ bool DolphinViewAutoScroller::eventFilter(QObject* watched, QEvent* event) if (watched == m_itemView->viewport()) { switch (event->type()) { case QEvent::MouseButtonPress: - m_rubberBandSelection = true; + if (static_cast<QMouseEvent*>(event)->button() == Qt::LeftButton) { + m_rubberBandSelection = true; + } break; case QEvent::MouseMove: |
