Fix mount disk
This commit is contained in:
parent
2e731edefd
commit
04a6e5028c
2 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue