mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Fix processing of arguments including spaces
This commit is contained in:
@@ -718,7 +718,7 @@ void GUI::on_actionOpen_triggered() {
|
||||
// the right addTorrent function, considering
|
||||
// the parameter type.
|
||||
void GUI::processParams(const QString& params_str) {
|
||||
processParams(params_str.split(" ", QString::SkipEmptyParts));
|
||||
processParams(params_str.split("|", QString::SkipEmptyParts));
|
||||
}
|
||||
|
||||
void GUI::processParams(const QStringList& params) {
|
||||
|
||||
Reference in New Issue
Block a user