sledgehammer999
702c79a92f
Don't delete old config keys yet
...
It will allow users to go back to previous versions without
losing their settings.
3 years ago
sledgehammer999
a27822b557
Correct the order of the migrated settings' mappings
3 years ago
sledgehammer999
ac5a485651
Disambiguate the data type
3 years ago
sledgehammer999
e8c65388eb
Bump copyright year
3 years ago
sledgehammer999
f2cbb61d49
Sync translations from Transifex and run lupdate
3 years ago
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
Vladimir Golovnev (Glassez)
fdbf8cb0ee
Correctly concatenate path components
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
Chocobo1
e7ebbffbfd
Set appropriate migration version number for new installations
3 years ago
Chocobo1
39f054eef6
Migrate "setting key mappings" to upgrade code
3 years ago
Chocobo1
7a620c794d
Fix garbage message when reporting error
...
PR #15883 .
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
aedd997604
Don't expire connection when there are data in buffer
...
For writing, this ensures expire handler won't be executed in a small
time window, that is after `m_socket->write()` and before
`QIODevice::bytesWritten()` signal.
For reading, this let the socket to have the chance to process the
received data instead of dropping it.
PR #15849 .
3 years ago
Chocobo1
aa3da942cb
Use correct URL scheme when https is enabled
...
Closes #15844 .
PR #15847 .
3 years ago
Chocobo1
cca93c2be2
Show GUI lock icon after system tray icon is initialized
3 years ago
Chocobo1
ad9d0608d4
Avoid needless string-bytes conversion
...
This saves a few microseconds.
3 years ago
Chocobo1
3c5688c6f6
Reserve enough buffer space according to response content size
3 years ago
Chocobo1
ece92a886a
Restart idle timer on sending network response
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
1c52fff1cc
Unify value loading paths
...
The idea is to try load every intermediate value from the base case and
then convert them to their respective type.
3 years ago
Chocobo1
261f08b90e
Sort WebUI language selection values
3 years ago
Chocobo1
2d48581570
Move main window setting to its own section
3 years ago
Chocobo1
b8a7ecfe69
Introduce versioning on main configuration file
3 years ago
Chocobo1
cbc2de6b85
Use proper method for checking value existence
3 years ago
Vladimir Golovnev
3d7ff9765a
Make meaning of "torrent root path" consistent
...
PR #15816 .
3 years ago
Chocobo1
28f2def21f
Remove redundant layer of `QVariant` in `Preferences` class
...
PR #15812 .
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
OctopusET
ab5605d54b
Use proper string for Korean language
...
PR #15799 .
3 years ago
Chocobo1
19d95ebd10
Add comment for qHash implementation requirements
...
As clazy report false-positive on this.
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
c8b66b25e8
Avoid potential container detachment
...
Suppress clazy warning:
warning: Don't call QList::operator[]() on temporary [-Wclazy-detaching-temporary]
3 years ago
Chocobo1
e6f07a6fe4
Use implicit copy-constructor generated by compiler
...
This also suppresses the following clang warning:
warning: definition of implicit copy assignment operator for 'Version<unsigned short, 2>' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
3 years ago
Chocobo1
51469f8fa2
Store Qt6 table header states under a different key
...
Follow up 22abbc1d41
.
PR #15774 .
3 years ago
Chocobo1
d78b2a569f
Fix handling when Content-Length field is absent
...
Closes #15754 .
PR #15757 .
3 years ago
Chocobo1
dc13eaed1f
Revert "Use percentage notation for alpha-values in CSS"
...
This reverts commit 864dca1b67
.
Upstream change: https://github.com/stylelint/stylelint-config-standard/pull/212
PR #15745 .
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
Chocobo1
13a49866a7
WebUI: Revise about page
...
Follow GUI more closely.
3 years ago
Chocobo1
7e2aea92b0
WebUI: Remove IRC in about page
...
This follows the GUI change in 65a30bab3f
.
3 years ago