Skip to content

Commit

Permalink
Change parameter name
Browse files Browse the repository at this point in the history
Per suggestion change parameter to `forced`
  • Loading branch information
ckanoab authored Nov 17, 2024
1 parent e92562e commit 16c0f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/api/torrentscontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ void TorrentsController::addAction()
const bool skipChecking = parseBool(params()[u"skip_checking"_s]).value_or(false);
const bool seqDownload = parseBool(params()[u"sequentialDownload"_s]).value_or(false);
const bool firstLastPiece = parseBool(params()[u"firstLastPiecePrio"_s]).value_or(false);
const bool addForced = parseBool(params()[u"addForced"_s]).value_or(false);
const bool addForced = parseBool(params() [u"forced"_s]).value_or(false);
const std::optional<bool> addToQueueTop = parseBool(params()[u"addToTopOfQueue"_s]);
const std::optional<bool> addStopped = parseBool(params()[u"stopped"_s]);
const QString savepath = params()[u"savepath"_s].trimmed();
Expand Down

0 comments on commit 16c0f4e

Please sign in to comment.