mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 07:22:47 -07:00
Construct QString more efficiently
This commit is contained in:
parent
2c23840947
commit
7de8a4d6e0
25 changed files with 60 additions and 61 deletions
|
@ -1559,7 +1559,7 @@ void OptionsDialog::on_addScanFolderButton_clicked()
|
|||
}
|
||||
|
||||
if (!error.isEmpty())
|
||||
QMessageBox::critical(this, tr("Adding entry failed"), QString("%1\n%2").arg(error, dir));
|
||||
QMessageBox::critical(this, tr("Adding entry failed"), QString::fromLatin1("%1\n%2").arg(error, dir));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue