D15796: Prefer initializer_list over operator << for initializing a QList

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Sep 27 17:04:16 BST 2018


broulik added inline comments.

INLINE COMMENTS

> main.cpp:187
> +    const QCommandLineOption startSessionOption(
> +        QStringList({QStringLiteral("s"), QStringLiteral("start")}),
> +        i18n("Start Kate with a given session."),

Just do `QStringList{QStringLiteral("s"), QStringLiteral("start")}`

REPOSITORY
  R40 Kate

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

To: tcanabrava
Cc: broulik, apol, kwrite-devel, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180927/e22aa8c0/attachment.html>


More information about the KWrite-Devel mailing list