┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-05-31 14:03:00 +0200
committerPeter Penz <[email protected]>2012-05-31 14:03:57 +0200
commit665c44821e32ba4bdfcd94889eb17e08ac25a315 (patch)
treec40768a46d81cbdc1fb928831b8b00779fccfc51 /src
parent397f8783d98dea4f8a34b15bb0a2db82dc8b848e (diff)
Always use single-click for the places panels
BUG: 300924 FIXED-IN: 4.9.0
Diffstat (limited to 'src')
-rw-r--r--src/panels/places/placespanel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp
index deef42935..613046025 100644
--- a/src/panels/places/placespanel.cpp
+++ b/src/panels/places/placespanel.cpp
@@ -85,6 +85,7 @@ void PlacesPanel::showEvent(QShowEvent* event)
m_controller = new KItemListController(m_model, view, this);
m_controller->setSelectionBehavior(KItemListController::SingleSelection);
+ m_controller->setSingleClickActivation(true);
connect(m_controller, SIGNAL(itemActivated(int)), this, SLOT(slotItemActivated(int)));
connect(m_controller, SIGNAL(itemMiddleClicked(int)), this, SLOT(slotItemMiddleClicked(int)));
connect(m_controller, SIGNAL(itemContextMenuRequested(int,QPointF)), this, SLOT(slotItemContextMenuRequested(int,QPointF)));