mirror of
https://github.com/feather-wallet/feather.git
synced 2025-03-12 09:37:47 +00:00
Refactor useless format string
This commit is contained in:
parent
938d2ddb4e
commit
44154b6046
1 changed files with 1 additions and 3 deletions
|
@ -401,13 +401,11 @@ void externalLinkWarning(QWidget *parent, const QString &url){
|
|||
return;
|
||||
}
|
||||
|
||||
QString body = "You are about to open the following link:\n\n";
|
||||
body += QString("%1").arg(url);
|
||||
QString body = QString("You are about to open the following link:\n\n%1").arg(url);
|
||||
|
||||
if (!(TailsOS::detect() || WhonixOS::detect()))
|
||||
body += "\n\nYou will NOT be using Tor.";
|
||||
|
||||
|
||||
QMessageBox linkWarning(parent);
|
||||
linkWarning.setWindowTitle("External link warning");
|
||||
linkWarning.setText(body);
|
||||
|
|
Loading…
Reference in a new issue