diff options
author | Eike Ziller <[email protected]> | 2024-06-25 15:41:38 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2024-06-25 13:51:50 +0000 |
commit | 44e36686c8ea5dd6601f80ab57c27bd34e1f7894 (patch) | |
tree | 636803d8a63aa56dd5378d3d2c01e55aa2f002df | |
parent | 9eaa9b1f66373f8e7fc07ed908e61bbda683e9ff (diff) |
Fix lupdate issuesv14.0.0-beta2
Change-Id: Ie71649f38e29c2fd6f644e023772f15865d6e6aa
Reviewed-by: hjk <[email protected]>
Reviewed-by: Leena Miettinen <[email protected]>
-rw-r--r-- | src/plugins/coreplugin/outputwindow.cpp | 2 | ||||
-rw-r--r-- | src/plugins/debugger/gdb/gdbsettings.cpp | 2 | ||||
-rw-r--r-- | src/plugins/languageclient/callandtypehierarchy.cpp | 2 | ||||
-rw-r--r-- | src/plugins/lua/luaengine.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/coreplugin/outputwindow.cpp b/src/plugins/coreplugin/outputwindow.cpp index d5fe9205602..4183a8457ca 100644 --- a/src/plugins/coreplugin/outputwindow.cpp +++ b/src/plugins/coreplugin/outputwindow.cpp @@ -74,7 +74,7 @@ public: QElapsedTimer lastMessage; QHash<unsigned int, QPair<int, int>> taskPositions; //: default file name suggested for saving text from output views - QString outputFileNameHint{Tr::tr("output.txt")}; + QString outputFileNameHint{::Core::Tr::tr("output.txt")}; }; } // namespace Internal diff --git a/src/plugins/debugger/gdb/gdbsettings.cpp b/src/plugins/debugger/gdb/gdbsettings.cpp index 9ca93263069..08313c7c6ce 100644 --- a/src/plugins/debugger/gdb/gdbsettings.cpp +++ b/src/plugins/debugger/gdb/gdbsettings.cpp @@ -166,7 +166,7 @@ GdbSettings::GdbSettings() useDebugInfoD.setSettingsKey("UseDebugInfoD"); useDebugInfoD.setLabelText(Tr::tr("Use debug info daemon")); - useDebugInfoD.setOptionText(TriState::DefaultValue, tr("Use system settings")); + useDebugInfoD.setOptionText(TriState::DefaultValue, Tr::tr("Use system settings")); useDebugInfoD.setToolTip(Tr::tr("Lets GDB attempt to automatically retrieve " "debug information for system packages.")); diff --git a/src/plugins/languageclient/callandtypehierarchy.cpp b/src/plugins/languageclient/callandtypehierarchy.cpp index d759ea35341..43e47ddc00b 100644 --- a/src/plugins/languageclient/callandtypehierarchy.cpp +++ b/src/plugins/languageclient/callandtypehierarchy.cpp @@ -432,7 +432,7 @@ public: Icons::RELOAD_TOOLBAR.icon(); auto button = new QToolButton; button->setIcon(Icons::RELOAD_TOOLBAR.icon()); - button->setToolTip(LanguageClient::Tr::tr( + button->setToolTip(::LanguageClient::Tr::tr( "Reloads the call hierarchy for the symbol under cursor position.")); connect(button, &QToolButton::clicked, this, [h] { h->updateHierarchyAtCursorPosition(); }); return {h, {button}}; diff --git a/src/plugins/lua/luaengine.cpp b/src/plugins/lua/luaengine.cpp index abfc78957b1..34faee83847 100644 --- a/src/plugins/lua/luaengine.cpp +++ b/src/plugins/lua/luaengine.cpp @@ -132,7 +132,7 @@ std::unique_ptr<Utils::LuaState> LuaEngine::runScript(const QString &script, con sol::error err = result; qWarning() << "Failed to run script" << name << ":" << QString::fromUtf8(err.what()); Core::MessageManager::writeFlashing( - tr("Failed to run script %1: %2").arg(name, QString::fromUtf8(err.what()))); + Tr::tr("Failed to run script %1: %2").arg(name, QString::fromUtf8(err.what()))); } return opaque; |