diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-18 15:17:38 +0300 |
---|---|---|
committer | Jarol Rodriguez <jarolrod@tutanota.com> | 2021-05-14 02:01:23 -0400 |
commit | 4ee9ee72363d46c5ba0c71b8d8283d9c5621e3ed (patch) | |
tree | f9b09700a16a86d477bf20f18f9977184bdaf7cb /src/qt | |
parent | a1f0b8b62eb851c837a3618583b7c2fd4d12006c (diff) |
qt: Use native presentation of shortcut
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/rpcconsole.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 34d055e5a5..2e29992c0e 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -816,14 +816,8 @@ void RPCConsole::clear(bool clearHistory) ).arg(fixedFontInfo.family(), QString("%1pt").arg(consoleFontSize)) ); -#ifdef Q_OS_MAC - QString clsKey = "(⌘)-L"; -#else - QString clsKey = "Ctrl-L"; -#endif - message(CMD_REPLY, (tr("Welcome to the %1 RPC console.").arg(PACKAGE_NAME) + "<br>" + - tr("Use up and down arrows to navigate history, and %1 to clear screen.").arg("<b>"+clsKey+"</b>") + "<br>" + + tr("Use up and down arrows to navigate history, and %1 to clear screen.").arg("<b>" + ui->clearButton->shortcut().toString(QKeySequence::NativeText) + "</b>") + "<br>" + tr("Type %1 for an overview of available commands.").arg("<b>help</b>") + "<br>" + tr("For more information on using this console type %1.").arg("<b>help-console</b>") + "<br><span class=\"secwarning\"><br>" + |