diff options
| author | Lukáš Tinkl <[email protected]> | 2014-11-03 18:25:19 +0100 |
|---|---|---|
| committer | Lukáš Tinkl <[email protected]> | 2014-11-03 18:25:19 +0100 |
| commit | b96def1856bfd043ba7dae56368ceed6940bd6c4 (patch) | |
| tree | b451d3cfe34097bd8e364abe9d0b350fca62fe10 /src/panels/places/placespanel.cpp | |
| parent | 7a3310ce73fd08177d5bd67ab7a612e5bde674c6 (diff) | |
use QUrl::fromLocalFile() on devices
fixes being unable to access eg. removable drives
Diffstat (limited to 'src/panels/places/placespanel.cpp')
| -rw-r--r-- | src/panels/places/placespanel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index a84c47480..b04191f1c 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -117,7 +117,7 @@ void PlacesPanel::showEvent(QShowEvent* event) m_controller->setSelectionBehavior(KItemListController::SingleSelection); m_controller->setSingleClickActivationEnforced(true); - readSettings(); + readSettings(); connect(m_controller, &KItemListController::itemActivated, this, &PlacesPanel::slotItemActivated); connect(m_controller, &KItemListController::itemMiddleClicked, this, &PlacesPanel::slotItemMiddleClicked); @@ -538,5 +538,3 @@ void PlacesPanel::triggerItem(int index, Qt::MouseButton button) } } } - - |
