From 665c44821e32ba4bdfcd94889eb17e08ac25a315 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 31 May 2012 14:03:00 +0200 Subject: Always use single-click for the places panels BUG: 300924 FIXED-IN: 4.9.0 --- src/panels/places/placespanel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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))); -- cgit v1.3