mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Added debug output
This commit is contained in:
parent
82877a9afa
commit
a4c1b93a42
6 changed files with 14 additions and 2 deletions
|
@ -917,8 +917,8 @@ void MainWindow::processParams(const QString& params_str) {
|
|||
}
|
||||
|
||||
void MainWindow::processParams(const QStringList& params) {
|
||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||
const bool useTorrentAdditionDialog = settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), true).toBool();
|
||||
Preferences pref;
|
||||
const bool useTorrentAdditionDialog = pref.useAdditionDialog();
|
||||
foreach(QString param, params) {
|
||||
param = param.trimmed();
|
||||
if(misc::isUrl(param)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue