D11452: sanitizer: Improve device listing
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Fri Apr 13 02:01:28 UTC 2018
bruns added inline comments.
INLINE COMMENTS
> databasesanitizer.cpp:135
> + QMap<quint32, DeviceInfo> result;
> + const auto devices = FSUtils::attachedDevices();
> + for (const auto& dev : devices) {
Completely overlooked this one - should have used `QStorageInfo::mountedVolumes()` here instead.
http://doc.qt.io/qt-5/qstorageinfo.html#mountedVolumes
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D11452
To: michaelh, #baloo, #frameworks, bruns
Cc: ngraham, bruns, smithjd, ashaposhnikov, michaelh, astippich, spoorun, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180413/3f387b73/attachment.html>
More information about the Kde-frameworks-devel
mailing list