[Differential] [Commented On] D4082: parse the desktop file 2 times

David Edmundson noreply at phabricator.kde.org
Wed Jan 11 13:31:59 UTC 2017


davidedmundson added inline comments.

INLINE COMMENTS

> desktopfileparser.cpp:541
> +    lineNr=0;
> +    df.close();
> +    readUntilDesktopEntryGroup(df, src, lineNr);

We don't need to close

readUntilDesktopEntryGroup()
auto pos = dr.pos();
while() {
}
dr.seek(pos);
while() {
}

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D4082

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma, davidedmundson, dfaure
Cc: plasma-devel, #frameworks, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170111/36402f78/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list