mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Fix processing of arguments including spaces
This commit is contained in:
parent
a9a3bb74e7
commit
a1a9f8bc7e
2 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue