fix: ui no longer blocks when volumes are unreachable + add support for network and fuse volumes

This commit is contained in:
2026-10-11 08:42:05 +02:00
parent 873b2eb01b
commit 3883917228
7 changed files with 226 additions and 53 deletions
+2
View File
@@ -11,6 +11,7 @@ class DiskInfo : public QObject {
QML_UNCREATABLE("DiskInfo is created by DiskUsage")
Q_PROPERTY(QString mount READ mount CONSTANT)
Q_PROPERTY(QString name READ name CONSTANT)
Q_PROPERTY(qreal used READ used NOTIFY usedChanged)
Q_PROPERTY(qreal total READ total NOTIFY totalChanged)
Q_PROPERTY(qreal free READ free NOTIFY freeChanged)
@@ -26,6 +27,7 @@ class DiskInfo : public QObject {
QObject* parent = nullptr);
[[nodiscard]] QString mount() const;
[[nodiscard]] QString name() const;
[[nodiscard]] qreal used() const;
[[nodiscard]] qreal total() const;
[[nodiscard]] qreal free() const;