mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Construct QString more efficiently
This commit is contained in:
committed by
sledgehammer999
parent
39fe0025cd
commit
ea3c360901
@@ -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