┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-01-31 21:29:10 +0100
committerPeter Penz <[email protected]>2011-01-31 21:29:10 +0100
commit6a8dde1793b9c287567206f28ff03b476ca92df0 (patch)
tree26c9e4a6e4bf93cc10b564773703962aed6858d6 /src/views
parentf491c6ff9ba68e77db3614771fdfbcd38530fac1 (diff)
Don't show the pointing-hand cursor when double-click is enabled
CCBUG: 264796
Diffstat (limited to 'src/views')
-rw-r--r--src/views/selectionmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/views/selectionmanager.cpp b/src/views/selectionmanager.cpp
index c06d827bd..9c0dd8bda 100644
--- a/src/views/selectionmanager.cpp
+++ b/src/views/selectionmanager.cpp
@@ -22,6 +22,7 @@
#include "dolphinmodel.h"
#include "selectiontoggle.h"
#include <kdirmodel.h>
+#include <kglobalsettings.h>
#include <kiconeffect.h>
#include <QAbstractButton>
@@ -115,7 +116,9 @@ void SelectionManager::slotEntered(const QModelIndex& index)
(index.column() == DolphinModel::Name) &&
(QApplication::mouseButtons() == Qt::NoButton);
if (showToggle) {
- applyPointingHandCursor();
+ if (KGlobalSettings::singleClick()) {
+ applyPointingHandCursor();
+ }
m_toggle->setUrl(urlForIndex(index));