D15645: Add scheme selection menu with a "System" entry.
Pino Toscano
noreply at phabricator.kde.org
Sun Oct 28 04:45:04 GMT 2018
pino requested changes to this revision.
pino added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> kcolorschememanager.cpp:52
> + QAction *const resetAction = new QAction(index.data(Qt::DecorationRole).value<QIcon>(),
> + i18n("Default (%0)").arg(systemScheme),
> + menu);
- not the correct way to pass arguments to i18n -- they are extra parameters to the i18n function itself
- even if %0 is supported, usually the first argument is %1
> kcolorschememanager.h:127
> + */
> + KActionMenu *createSchemeSelectionMenuWithDefaultEntry(const QIcon &icon, const QString &text, const QString &selectedSchemeName, QObject *parent);
> +
instead of a custom variant, what about creating new versions of the `createSchemeSelectionMenu` functions that take flags instead?
REPOSITORY
R265 KConfigWidgets
REVISION DETAIL
https://phabricator.kde.org/D15645
To: amhndu, #frameworks, broulik, cfeck, elvisangelaccio, ngraham, pino
Cc: pino, ngraham, broulik, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181028/04a99bff/attachment.html>
More information about the Kde-frameworks-devel
mailing list