Browse Source

Fix support for --no-splash command line argument

adaptive-webui-19844
Christophe Dumez 12 years ago
parent
commit
965f7f5d26
  1. 3
      src/mainwindow.cpp

3
src/mainwindow.cpp

@ -957,6 +957,9 @@ void MainWindow::processParams(const QStringList& params) { @@ -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{

Loading…
Cancel
Save