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

Aleix Pol Gonzalez noreply at phabricator.kde.org
Thu Sep 27 16:15:45 BST 2018


apol added inline comments.

INLINE COMMENTS

> main.cpp:252
> +    const QCommandLineOption tempfileOption(
> +        QStringList({QStringLiteral("tempfile")}),
> +        i18n("The files/URLs opened by the application will be deleted after use")

Why do you need to hardcode the QStringList constructor?

REPOSITORY
  R40 Kate

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

To: tcanabrava
Cc: 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/c7c394d2/attachment.html>


More information about the KWrite-Devel mailing list