D12966: Reduce the boilerplate needed for commandLineArgs
Tomaz Canabrava
noreply at phabricator.kde.org
Fri May 18 15:47:39 UTC 2018
tcanabrava created this revision.
Restricted Application added a project: Konsole.
Restricted Application added a subscriber: konsole-devel.
tcanabrava requested review of this revision.
REVISION SUMMARY
Use the new initialization syntax plus a initialization vector
to remove the need to call parser->addOption(QCommandLineOption
on every single command line option.
The code now store things in a vector, that is in fact slower
but this should be negligible, and the code is easier to extend
and to read.
REPOSITORY
R319 Konsole
BRANCH
commandLineArgsBoilerplate
REVISION DETAIL
https://phabricator.kde.org/D12966
AFFECTED FILES
src/Application.cpp
To: tcanabrava
Cc: konsole-devel, herrold, ngraham, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180518/8df758e5/attachment.html>
More information about the konsole-devel
mailing list