D29321: Port and enable the User Agent Changer plugin

Pino Toscano noreply at phabricator.kde.org
Fri May 1 12:06:58 BST 2020


pino added inline comments.

INLINE COMMENTS

> uachangerplugin.cpp:96-104
> +    // see plasma-workspace/kcms/translations/translationssettingsbase.kcfg
> +    // and plasma-workspace/kcms/translations/translations.cpp
> +    const KConfigGroup grp = KSharedConfig::openConfig("plasma-localerc")->group("Translations");
> +    QStringList languageList = grp.readEntry("LANGUAGE").split(QLatin1Char(':'),
> +#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
> +                                                               Qt::SkipEmptyParts);
> +#else

please use KLocalizedString::languages() instead

REPOSITORY
  R226 Konqueror

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

To: marten, #konqueror, #plasma, dfaure
Cc: pino, dfaure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200501/77dd5fde/attachment.htm>


More information about the kfm-devel mailing list