Chocobo1
01a0fff4c2
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()};
3 years ago
Chocobo1
bf9516d164
Simplify code
...
This version saves an `if` conditional.
3 years ago
Prince Gupta
7e8a176751
Support folder based UI Themes
...
Support folder based Themes in UIThemeManager.
Add option to select config.json as them file.
PR #15888 .
3 years ago
Vladimir Golovnev (Glassez)
1c0f8b4289
Redesign "Incomplete folder" feature
...
Change "Incomplete/temp folder" term with "download folder".
Allow to set "download folder" per torrent (in manual mode) and per category (in automatic mode).
3 years ago
Chocobo1
63043b4927
Replace min, max, clamp functions with std counterparts
3 years ago
Chocobo1
3ea4c66d41
Replace QPair with std::pair
3 years ago
Vladimir Golovnev (Glassez)
b0e41abf5a
Allow to set placeholder for FileSystemPathEdit
3 years ago
Vladimir Golovnev (Glassez)
6f8fae9a7b
Apply selected layout to displayed torrent content
3 years ago
Vladimir Golovnev (Glassez)
62b50d1475
Make TorrentInfo immutable
3 years ago
Vladimir Golovnev
2fb0c86f1e
Add "Show torrent options" double-click action
...
PR #15853 .
Closes #15837 .
3 years ago
Chocobo1
cca93c2be2
Show GUI lock icon after system tray icon is initialized
3 years ago
Chocobo1
85777ea491
Simplify tray icon related code
3 years ago
Chocobo1
b8a84dbd83
Disable system tray icon menu when app is exiting
3 years ago
Chocobo1
1fa940876f
Remove redundant UI cleanups
...
Just exiting the application will handle all of them automatically.
3 years ago
Chocobo1
6ccc92020c
Disable "add peers" menu items instead of hiding it
...
Menu item in disabled state can show tool tip to help user understand
why it is unavailable.
Related issue: #15785 .
PR #15787 .
3 years ago
Chocobo1
e3fe66d3ec
Store enum type in settings directly
...
Affected settings will be migrated to new keys so nothing should break.
PR #15800 .
3 years ago
Chocobo1
0e1849346b
Avoid iterating over a temporary variable
3 years ago
Chocobo1
0f34e3bed9
Don't use deprecated Q_ENUMS
...
See: https://doc.qt.io/qt-5/qobject-obsolete.html#Q_ENUMS
3 years ago
Chocobo1
51469f8fa2
Store Qt6 table header states under a different key
...
Follow up 22abbc1d41
.
PR #15774 .
3 years ago
Chocobo1
b063042988
Apply download priority immediately in torrent content view
...
Apply the new priority after picking it via drop-down menu.
Fixes #14667 , #15238 .
PR #15739 .
Co-authored-by: a-sum-duma <68896601+a-sum-duma@users.noreply.github.com>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
3 years ago
a-sum-duma
fa1d49add5
Properly check if file priority changes
...
Current item priority is compared against new checkbox state. I believe the intention was to check if the priority changes before performing further actions. This PR fixes the issue - compare priority against new value that is about to be set rather then the checkbox state.
PR #15740 .
3 years ago
a-sum-duma
b29b7e0185
Add more download options to torrent search result right-click menu
...
PR #15654 .
3 years ago
Chocobo1
22abbc1d41
Store Qt6 table header states under a different key
3 years ago
Chocobo1
32698fe0be
Migrate away from low-level `SettingsStorage` class
...
Also add `QFlags<T>` support to `SettingsStorage`.
PR #15693 .
3 years ago
thalieht
16f8d6a936
Allow deselecting radio buttons in "Torrent options" for mixed torrents
3 years ago
thalieht
046d6f3bc1
Move a few torrent context menu actions into "Torrent options" dialog
...
Automatic torrent management
Save path
Category
Download in sequential order
Download first and last pieces first
closes #15447 , closes #14064
3 years ago
a-sum-duma
5dd70b88d3
Fix torrent content sorting
...
Fix improper sorting of the list of files contained by a torrent.
Always load all torrent content data so that the files list can be sorted properly.
Load torrent content only when needed. Don't load the list of files contained by a torrent if the list widget is not visible.
PR #15604 .
3 years ago
Chocobo1
8a7179195f
Suppress remove null widget warning
...
And improve text format for translation work.
3 years ago
Chocobo1
e45e29b431
Avoid type specifier mismatch
...
Qt5 uses `int` and Qt6 uses `qsizetype`, so use the stream version of
`qDebug()` to avoid specifying types.
3 years ago
Chocobo1
08b2cde8e8
Let infohash v2 text be mouse selectable
...
And drop unused property.
3 years ago
Chocobo1
489d88e02a
Suppress conversion warning
...
This fixes MSVC warning C4305: 'argument': truncation from 'double' to 'float'.
`QColor::setAlphaF()` parameter has been changed to `float` in Qt6.
3 years ago
Chocobo1
7087565d92
Fix typo
3 years ago
xavier2k6
a92a6404cb
Make Python minimum version requirement an argument
3 years ago
Vladimir Golovnev (Glassez)
78459fcb31
Don't throw exception in TorrentInfo::saveToFile()
3 years ago
Vladimir Golovnev (Glassez)
41fc0fd084
Don't use output parameters for error handling
3 years ago
Chocobo1
e96f2d7be0
Simplify comparison
...
From https://doc.qt.io/qt-5/qdatetime.html#operator-eq-eq :
>Since 5.14, all invalid datetimes are equal to one another and differ from all other datetimes.
3 years ago
Vladimir Golovnev
c382191e75
Correctly iterate through the files of torrent
...
PR #15535 .
3 years ago
luzpaz
4d480b8761
Fix various typos
...
Found via `codespell -q 3 -S *.ts`.
PR #15520 .
3 years ago
Vladimir Golovnev
bc71827c01
Improve torrent content handling
...
Hide .pad files.
PR #15468 .
3 years ago
Vladimir Golovnev (glassez)
add75fbc77
Make complete type declarations available where needed
3 years ago
Vladimir Golovnev (Glassez)
86b1ac5d7c
CMake: Allow to build with Qt6
3 years ago
Jose M. Abuin
64609ce5cf
Add missing double-click action
...
Closes #15422 .
PR #15509 .
3 years ago
Chocobo1
03012cc175
Revise description wordings
3 years ago
Chocobo1
21f72baae2
Use QSaveFile wherever applicable
...
expected.hpp was fetched from:
b803e3c07b/include/nonstd/expected.hpp
3 years ago
xavier2k6
4b78af268f
Update python installer URL for Windows
3 years ago
Chocobo1
0783968121
Guard for null pointer
3 years ago
Chocobo1
cb29685a24
Use Qt macro to disable various constructors
3 years ago
Vladimir Golovnev
90296b3ef0
Add "Skip hash check" option for watched folders
...
Closes #15388 .
PR #15433 .
3 years ago
smigii
8f02fe0cc6
Elide text from the right for all columns' header
...
Minimizing columns no longer truncates text from the left, now elides
text from the right for better readability. Done by setting header's
textElideMode to Qt::TextElideRight.
Fix issue #14419 .
PR #15366 .
3 years ago
Chocobo1
7a6edcdddb
Fix broken behavior of "priority by shown file order"
...
Closes #15421 .
PR #15423 .
3 years ago