diff --git a/model/placesitem.cpp b/model/placesitem.cpp index dbc1e5a..2e2476c 100644 --- a/model/placesitem.cpp +++ b/model/placesitem.cpp @@ -117,7 +117,7 @@ void PlacesItem::updateDeviceInfo(const QString &udi) m_displayName = m_device.displayName(); if (m_access) { - // m_url = m_access->filePath(); + m_url = QUrl::fromLocalFile(m_access->filePath()); connect(m_access.data(), &Solid::StorageAccess::accessibilityChanged, this, &PlacesItem::onAccessibilityChanged); onAccessibilityChanged(m_access->isAccessible()); } diff --git a/qml/FolderPage.qml b/qml/FolderPage.qml index 32035a2..1089ff3 100644 --- a/qml/FolderPage.qml +++ b/qml/FolderPage.qml @@ -24,8 +24,8 @@ Item { Rectangle { id: _background anchors.fill: parent - anchors.rightMargin: FishUI.Theme.smallRadius - anchors.bottomMargin: FishUI.Theme.smallRadius + anchors.rightMargin: FishUI.Units.smallSpacing * 1.5 + anchors.bottomMargin: FishUI.Units.smallSpacing * 1.5 radius: FishUI.Theme.smallRadius color: FishUI.Theme.backgroundColor }