summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstorageinfo_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-06-20 17:53:42 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-09-03 06:41:33 +0000
commit590ca436032cb828fc882fde9c0e99e0f450a061 (patch)
tree57deac0f3a730ca71b211f3b30405cfa661da99b /src/corelib/io/qstorageinfo_p.h
parent6cabb18bc2c983fc7013273841739a3490b55f55 (diff)
QStorageInfo: Add support for obtaining subvolume names
[ChangeLog][QtCore][QStorageInfo] Added QStorageInfo::subvolume(), which returns the name of the subvolume of a volume that was mounted, if one was detected. This is currently implemented only for btrfs on Linux. Change-Id: Ib57b52598e2f452985e9fffd1459f3145d733ce5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstorageinfo_p.h')
-rw-r--r--src/corelib/io/qstorageinfo_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qstorageinfo_p.h b/src/corelib/io/qstorageinfo_p.h
index a14fa8480a..ec5bb785e3 100644
--- a/src/corelib/io/qstorageinfo_p.h
+++ b/src/corelib/io/qstorageinfo_p.h
@@ -85,6 +85,7 @@ protected:
public:
QString rootPath;
QByteArray device;
+ QByteArray subvolume;
QByteArray fileSystemType;
QString name;