1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Fix support for --no-splash command line argument

This commit is contained in:
Christophe Dumez 2013-01-19 16:22:47 +02:00
parent 636e052faa
commit 965f7f5d26

View File

@ -957,6 +957,9 @@ void MainWindow::processParams(const QStringList& params) {
const bool useTorrentAdditionDialog = pref.useAdditionDialog();
foreach (QString param, params) {
param = param.trimmed();
if (param.startsWith("--"))
continue;
if (misc::isUrl(param)) {
QBtSession::instance()->downloadFromUrl(param);
}else{