[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bkde-baseapps=5D_dolphin/src/views=3A_Don=27t_show_t?=
From:       Peter Penz <peter.penz19 () gmail ! com>
Date:       2011-01-31 20:29:57
Message-ID: 20110131202957.BD8FDA6094 () git ! kde ! org
[Download RAW message or body]

Git commit e2180b5f3dc949778c54ad31ce72b466d5333baf by Peter Penz.
Pushed by ppenz into branch 'master'.

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

CCBUG: 264796

M  +4    -1    dolphin/src/views/selectionmanager.cpp     

http://commits.kde.org/a5d5b61a/e2180b5f3dc949778c54ad31ce72b466d5333baf

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic