Skip to content

Use QT_TRANSLATE_NOOP instead of QT_TR_NOOP for KStandardActions

Nicolas Fella requested to merge work/nico/tr into master

QT_TR_NOOP wants to be used in a QObject-derived class to use the class name as context. We are using it in a namespace here though.

Instead use QT_TRANSLATE_NOOP and manually specify the context.

This also means adjusting the translation calls from tr() to translate()

Merge request reports