File dolphin-donot-show-pointing-hand-cursor-when-double-click-enabled.diff of Package kdebase4.import5217

commit e2180b5f3dc949778c54ad31ce72b466d5333baf
Author: Peter Penz <peter.penz19@gmail.com>
Date:   Mon Jan 31 21:29:10 2011 +0100

    Don't show the pointing-hand cursor when double-click is enabled
    
    CCBUG: 264796

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));