┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-08 05:43:33 +0000
committerPeter Penz <[email protected]>2007-03-08 05:43:33 +0000
commit90b0e715d220f64a9f50f06d4757fca2a6a32b46 (patch)
tree8bcc19e511c5d55f7672ab1c49500efb4cd870b9 /src/dolphindetailsview.cpp
parent3f763206910eb00068fb8863c450e70c83262edd (diff)
Use hover effect from KFileItemDelegate also for the details view and assure that only the column KDirModel::Name can be selected and edited.
svn path=/trunk/KDE/kdebase/apps/; revision=640453
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 6406cb81d..683a97e4e 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -42,6 +42,9 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
setRootIsDecorated(false);
setSortingEnabled(true);
setUniformRowHeights(true);
+ setSelectionBehavior(SelectItems);
+
+ viewport()->setAttribute(Qt::WA_Hover);
const ViewProperties props(controller->url());
setSortIndicatorSection(props.sorting());