mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 17:18:43 +02:00
Refactor useless format string
This commit is contained in:
+1
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user