diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-06-19 20:11:19 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2019-06-19 20:11:19 +0200 |
commit | c086fc7341bcd57d0b7a459bb3ba7cfe1ccbd8be (patch) | |
tree | 0eedda84713c73961b93afdbe15446530e2e8db5 /src/corelib/io/qt_attribution.json | |
parent | 6398588338dfea4161704e01216ba70b216a7a0b (diff) |
Report correct data when multiple volumes are mounted to the same path
We read the data into the iterator from the system, but then recreate
the QStorageInfo object based on the rootPath, and then stat, discarding
the data in the iterator.
We can overwrite the data with the information in the iterator, which
partially fixes the issue. Volume information that can only be retrieved
by stat'ing the root path, such as size information, will only be
correct for one of the entries.
Change-Id: Ie98590876d6a5f525af009f4ff5d595cbc308b3f
Fixes: QTBUG-63209
Reviewed-by: Andrius Štikonas <andrius@stikonas.eu>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qt_attribution.json')
0 files changed, 0 insertions, 0 deletions