D21235: Add handling of fuseiso filesystem type
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Fri Nov 15 20:07:36 GMT 2019
bruns requested changes to this revision.
bruns added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> fstabhandling.cpp:301
> +
> +void Solid::Backends::Fstab::FstabHandling::parseMtabFile(const QString& mtabPath, QMultiHash<QString, QString>& activeMounts, QHash<QString, QString>& activeFstype)
> +{
The API is totally awkward.
You end up with something significantly cleaner when you create a new class for it:
QStringMultiHash m_mtabCache;
QHash<QString, QString> m_mtabFstypeCache;
bool m_mtabCacheValid;
and make the parser a member function.
Then instantiate the class for the fuseiso case and for the globalFstabCache.
REPOSITORY
R245 Solid
REVISION DETAIL
https://phabricator.kde.org/D21235
To: hallas, bruns, ngraham
Cc: broulik, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191115/d21508d4/attachment.html>
More information about the Kde-frameworks-devel
mailing list