From 50d2565c685da9b37f85671c559622c559e6886e Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Sun, 19 Feb 2023 23:14:36 +0100 Subject: [PATCH] Translations: Fix occurrence of tr() call with randomn context Change-Id: Iaba347e3611f894c9f76cffa7e8b7870d13d9920 Reviewed-by: Alessandro Portale --- src/plugins/qmljstools/qmljstoolssettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmljstools/qmljstoolssettings.cpp b/src/plugins/qmljstools/qmljstoolssettings.cpp index ba2bab21bff..093fb676c25 100644 --- a/src/plugins/qmljstools/qmljstoolssettings.cpp +++ b/src/plugins/qmljstools/qmljstoolssettings.cpp @@ -40,7 +40,7 @@ QmlJSToolsSettings::QmlJSToolsSettings() // global code style settings m_globalCodeStyle = new QmlJSCodeStylePreferences(this); m_globalCodeStyle->setDelegatingPool(pool); - m_globalCodeStyle->setDisplayName(tr("Global", "Settings")); + m_globalCodeStyle->setDisplayName(Tr::tr("Global", "Settings")); m_globalCodeStyle->setId(idKey); pool->addCodeStyle(m_globalCodeStyle); TextEditorSettings::registerCodeStyle(QmlJSTools::Constants::QML_JS_SETTINGS_ID, m_globalCodeStyle);