summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <peter.penz19@gmail.com>2011-01-31 20:31:05 (GMT)
committerPeter Penz <peter.penz19@gmail.com>2011-01-31 20:31:05 (GMT)
commit09d30e3590b27e6955512d4726e1b188430765f8 (patch)
treead4fd30d378c4694ebacec56aa1f235bec28f82d
parented2de2e5b6a5cb717d3cbbf82d65f46cbc3df697 (diff)
Don't show the pointing-hand cursor when double-click is enabled
BUG: 264796 FIXED-IN: 4.6.1
-rw-r--r--dolphin/src/views/selectionmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/dolphin/src/views/selectionmanager.cpp b/dolphin/src/views/selectionmanager.cpp
index c06d827..9c0dd8b 100644
--- a/dolphin/src/views/selectionmanager.cpp
+++ b/dolphin/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));