]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Always use single-click for the places panels
authorPeter Penz <peter.penz19@gmail.com>
Thu, 31 May 2012 12:03:00 +0000 (14:03 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 31 May 2012 12:03:57 +0000 (14:03 +0200)
BUG: 300924
FIXED-IN: 4.9.0

src/panels/places/placespanel.cpp

index deef429358b055ba128f78c54cf31a57f1a51b20..613046025e3f07be80a42aefd51c767508b6ac5d 100644 (file)
@@ -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)));