D22323: Code cleanups
Tomaz Canabrava
noreply at phabricator.kde.org
Mon Jul 8 11:11:38 BST 2019
tcanabrava created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
tcanabrava requested review of this revision.
REVISION SUMMARY
Send options as an Array
*should* be faster as potentially there will be just one allocation
Rename variable: QApplication qa to app.
qa means nothing and the default for Qt apps is to have the
QApplication var named app.
Return directly without creating temporaries
Extract logic from main function
REPOSITORY
R871 DrKonqi
BRANCH
codeCleanups
REVISION DETAIL
https://phabricator.kde.org/D22323
AFFECTED FILES
src/main.cpp
To: tcanabrava
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190708/abfc4720/attachment-0001.html>
More information about the Plasma-devel
mailing list