Add missing field initial value
commit01a0fff4c2dab8ba6aa1aa3b9d49b8c58190e684
authorChocobo1 <Chocobo1@users.noreply.github.com>
Mon, 3 Jan 2022 04:13:32 +0000 (3 12:13 +0800)
committersledgehammer999 <hammered999@gmail.com>
Mon, 3 Jan 2022 21:42:48 +0000 (3 23:42 +0200)
treeba42654fb7a014a142c256664f481baf71d6ac16
parentbf9516d16438754524af22aac119f6973057700e
Add missing field initial value

Suppresses the following warning:
qBittorrent/src/base/bittorrent/categoryoptions.cpp: In static member function ‘static BitTorrent::CategoryOptions BitTorrent::CategoryOptions::fromJSON(const QJsonObject&)’:
qBittorrent/src/base/bittorrent/categoryoptions.cpp:44:59: warning: missing initializer for member ‘BitTorrent::CategoryOptions::DownloadPathOption::path’ [-Wmissing-field-initializers]
   44 |         options.downloadPath = {downloadPathValue.toBool()};
src/base/bittorrent/categoryoptions.cpp
src/gui/torrentcategorydialog.cpp