mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
Avoid temporary QString allocations
This fixes clazy warning: Use multi-arg instead [-Wclazy-qstring-arg]
This commit is contained in:
@@ -200,7 +200,8 @@ void TorrentCreatorDlg::handleCreationSuccess(const QString &path, const QString
|
||||
|
||||
BitTorrent::Session::instance()->addTorrent(t, params);
|
||||
}
|
||||
QMessageBox::information(this, tr("Torrent creator"), QString("%1\n%2").arg(tr("Torrent created:")).arg(Utils::Fs::toNativePath(path)));
|
||||
QMessageBox::information(this, tr("Torrent creator")
|
||||
, QString("%1\n%2").arg(tr("Torrent created:"), Utils::Fs::toNativePath(path)));
|
||||
setInteractionEnabled(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user