diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-07 22:46:35 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-08 08:32:42 +0000 |
commit | 9db70d8810dbee8c3b54e4d69f9dfcee27f90259 (patch) | |
tree | df271ab90654d433b1ecc690db4ee3ee6acccb73 /src/plugins/debugger/gdb/gdbengine.cpp | |
parent | 2356f28647c04718919a090a4784c9453cd0c02a (diff) | |
download | qt-creator-9db70d8810dbee8c3b54e4d69f9dfcee27f90259.tar.gz |
Translations: Fix stray QApplication::translate() calls
For references to the module-own context, use Tr::tr().
For references to other modules, use the right context name (with "::"
prefix).
Change-Id: I6dce8f1ceccb23c44d93f1826402cd3be8e98e5a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/debugger/gdb/gdbengine.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 9797a354bb..b420104afb 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -5077,7 +5077,7 @@ void GdbEngine::handleFetchVariables(const DebuggerResponse &response) QString GdbEngine::msgPtraceError(DebuggerStartMode sm) { if (sm == StartInternal) { - return QCoreApplication::translate("QtDumperHelper", + return Tr::tr( "ptrace: Operation not permitted.\n\n" "Could not attach to the process. " "Make sure no other debugger traces this process.\n" @@ -5085,7 +5085,7 @@ QString GdbEngine::msgPtraceError(DebuggerStartMode sm) "/proc/sys/kernel/yama/ptrace_scope\n" "For more details, see /etc/sysctl.d/10-ptrace.conf\n"); } - return QCoreApplication::translate("QtDumperHelper", + return Tr::tr( "ptrace: Operation not permitted.\n\n" "Could not attach to the process. " "Make sure no other debugger traces this process.\n" |