diff options
| author | Peter Penz <[email protected]> | 2012-05-31 14:03:00 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-05-31 14:03:57 +0200 |
| commit | 665c44821e32ba4bdfcd94889eb17e08ac25a315 (patch) | |
| tree | c40768a46d81cbdc1fb928831b8b00779fccfc51 | |
| parent | 397f8783d98dea4f8a34b15bb0a2db82dc8b848e (diff) | |
Always use single-click for the places panels
BUG: 300924
FIXED-IN: 4.9.0
| -rw-r--r-- | src/panels/places/placespanel.cpp | 1 |
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))); |
