From: Peter Penz Date: Thu, 31 May 2012 12:03:00 +0000 (+0200) Subject: Always use single-click for the places panels X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/665c44821e32ba4bdfcd94889eb17e08ac25a315?ds=inline Always use single-click for the places panels BUG: 300924 FIXED-IN: 4.9.0 --- 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)));