D11753: baloodb: Add clean command
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Sun Apr 15 02:34:12 UTC 2018
bruns requested changes to this revision.
bruns added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> databasesanitizer.cpp:166
>
> -private:
> Transaction* m_transaction;
Why do you remove the private: here?
> databasesanitizer.cpp:176
> + quint64 id = 0;
> + };
> + IdInfo toIdInfo(quint64 id) {
Is this struct still used?
> databasesanitizer.cpp:184
> + return result;
> + }
> +
duplicates code from idutils.h
> databasesanitizer.cpp:326
> + }
> + }
> + return result;
Restructure:
Iterate over listResult.first to populate with deviceIds
Iterate over result to set each entry to ignore/use.
> databasesanitizer.cpp:343
> + }
> + out << sep << QStringLiteral("device: %1").arg(info.deviceId)
> + << sep << QStringLiteral("inode: %1").arg(info.inode)
remove `sep`, use `QStringLiteral(" device: %1") instead
> databasesanitizer.cpp:344
> + out << sep << QStringLiteral("device: %1").arg(info.deviceId)
> + << sep << QStringLiteral("inode: %1").arg(info.inode)
> + << sep << QStringLiteral("url: %1").arg(info.url)
dito `sep`, indent to align `<<` with line above
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D11753
To: michaelh, #baloo, #frameworks, bruns
Cc: bruns, cfeck, smithjd, ashaposhnikov, michaelh, astippich, spoorun, ngraham, alexeymin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180415/1495fea1/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list