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

List:       kde-commits
Subject:    branches/KDE/4.1/kdelibs/kfile
From:       Carsten Pfeiffer <pfeiffer () kde ! org>
Date:       2008-07-21 21:16:26
Message-ID: 1216674986.616501.11048.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 836192 by pfeiffer:

backport: emit fileHighlighted not only for multi-selection and empty selections


 M  +4 -0      kdiroperator.cpp  


--- branches/KDE/4.1/kdelibs/kfile/kdiroperator.cpp #836191:836192
@@ -2066,6 +2066,10 @@
         KFileItem nullItem;
         parent->highlightFile(nullItem);
     }
+    else {
+        KFileItem selectedItem = parent->selectedItems().first();
+        parent->highlightFile(selectedItem);
+    }
 }
 
 void KDirOperator::Private::_k_openContextMenu(const QPoint& pos)
[prev in list] [next in list] [prev in thread] [next in thread] 

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