mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Construct QString more efficiently
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user