mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
[Qt] Console: add security warning
This commit is contained in:
parent
76fcd9d503
commit
ed6b377ae2
@ -650,13 +650,18 @@ void RPCConsole::clear(bool clearHistory)
|
||||
"td.message { font-family: %1; font-size: %2; white-space:pre-wrap; } "
|
||||
"td.cmd-request { color: #006060; } "
|
||||
"td.cmd-error { color: red; } "
|
||||
".secwarning { color: red; }"
|
||||
"b { color: #006060; } "
|
||||
).arg(fixedFontInfo.family(), QString("%1pt").arg(consoleFontSize))
|
||||
);
|
||||
|
||||
message(CMD_REPLY, (tr("Welcome to the %1 RPC console.").arg(tr(PACKAGE_NAME)) + "<br>" +
|
||||
tr("Use up and down arrows to navigate history, and <b>Ctrl-L</b> to clear screen.") + "<br>" +
|
||||
tr("Type <b>help</b> for an overview of available commands.")), true);
|
||||
tr("Type <b>help</b> for an overview of available commands.")) +
|
||||
"<br><span class=\"secwarning\">" +
|
||||
tr("WARNING: Scammers have been active, telling users to type commands here, stealing their wallet contents. Do not use this console without fully understanding the ramification of a command.") +
|
||||
"</span>",
|
||||
true);
|
||||
}
|
||||
|
||||
void RPCConsole::keyPressEvent(QKeyEvent *event)
|
||||
|
Loading…
Reference in New Issue
Block a user