mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Construct QString more efficiently
This commit is contained in:
parent
2c23840947
commit
7de8a4d6e0
25 changed files with 60 additions and 61 deletions
|
@ -587,7 +587,7 @@ int Application::exec(const QStringList ¶ms)
|
|||
#ifndef DISABLE_WEBUI
|
||||
Preferences *const pref = Preferences::instance();
|
||||
// Display some information to the user
|
||||
const QString mesg = QString("\n******** %1 ********\n").arg(tr("Information"))
|
||||
const QString mesg = QString::fromLatin1("\n******** %1 ********\n").arg(tr("Information"))
|
||||
+ tr("To control qBittorrent, access the Web UI at %1")
|
||||
.arg(QString("http://localhost:") + QString::number(pref->getWebUiPort())) + '\n';
|
||||
printf("%s", qUtf8Printable(mesg));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue