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();
|
m_displayName = m_device.displayName();
|
||||||
|
|
||||||
if (m_access) {
|
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);
|
connect(m_access.data(), &Solid::StorageAccess::accessibilityChanged, this, &PlacesItem::onAccessibilityChanged);
|
||||||
onAccessibilityChanged(m_access->isAccessible());
|
onAccessibilityChanged(m_access->isAccessible());
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,8 @@ Item {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: _background
|
id: _background
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.rightMargin: FishUI.Theme.smallRadius
|
anchors.rightMargin: FishUI.Units.smallSpacing * 1.5
|
||||||
anchors.bottomMargin: FishUI.Theme.smallRadius
|
anchors.bottomMargin: FishUI.Units.smallSpacing * 1.5
|
||||||
radius: FishUI.Theme.smallRadius
|
radius: FishUI.Theme.smallRadius
|
||||||
color: FishUI.Theme.backgroundColor
|
color: FishUI.Theme.backgroundColor
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue