mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Merge pull request #5532 from briankendall/torrent_command_line_arguments
Command line arguments for specifying options when adding torrents
This commit is contained in:
@@ -182,7 +182,7 @@ int main(int argc, char *argv[])
|
||||
qDebug("qBittorrent is already running for this user.");
|
||||
|
||||
QThread::msleep(300);
|
||||
app->sendParams(params.torrents);
|
||||
app->sendParams(params.paramList());
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
@@ -247,7 +247,7 @@ int main(int argc, char *argv[])
|
||||
signal(SIGSEGV, sigAbnormalHandler);
|
||||
#endif
|
||||
|
||||
return app->exec(params.torrents);
|
||||
return app->exec(params.paramList());
|
||||
}
|
||||
catch (CommandLineParameterError &er) {
|
||||
displayBadArgMessage(er.messageForUser());
|
||||
|
||||
Reference in New Issue
Block a user