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
a-sum-duma
b29b7e0185
Add more download options to torrent search result right-click menu
...
PR #15654 .
3 years ago
Chocobo1
71270260bf
Reformat code
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
Andrei Stepanov
51d754a53e
Optimize PNG images losslessly with FileOptimizer
...
PR #15662 .
3 years ago
xavier2k6
e6ff23885e
Sync flag icons with upstream
...
Upstream commit e0577caf317aa721b62c5a4788b13572cc163252 (Release v4.1.4)
PR #15657 .
3 years ago
Chocobo1
7aa859a442
Don't use deprecated statfs64() on macOS ( #15661 )
...
Co-authored-by: Nick Korotysh <kolchaprogrammer@list.ru>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
3 years ago
Chocobo1
180deb867a
Use char array directly
...
This eliminates the possibility of reassigning the pointer to another
address.
3 years ago
Chocobo1
a5c531f0a4
Create lock file in config folder instead of temp folder
...
Some linux distros seem to alter TMPDIR environment variable and
therefore hamper qbt ability to find the lock files. So use config
folder instead of TMPDIR folder to create/locate the lock files.
Note that this change will also make qbt become one instance per-user
instead of one instance per-system.
Closes #15646 .
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
sledgehammer999
40f2718265
Sync translations from Transifex and run lupdate
3 years ago
Vladimir Golovnev
cc61ad01b6
Explicitly set "added time" when adding new torrent
...
Don't overwrite "added time" with possibly incorrect value.
Explicitly set "added time" when adding new torrent.
PR #15644 .
3 years ago
sledgehammer999
8a44c1f6d5
Bump to 4.4.0rc1
3 years ago
sledgehammer999
e370cbb06b
Sync translations from Transifex and run lupdate
3 years ago
Likol Tung
cb0c2e3b9c
Fix WebUI reverse proxy section doesn't work
...
As title. because load with incorrect key.
Also moving proxy list label to left, screenshot: https://imgur.com/Rz038uW
PR #15634 .
3 years ago
Chocobo1
8b60baea99
Remove unused CSS properties
3 years ago
Chocobo1
ac61c33d1c
Use modern color notation in CSS
3 years ago
Chocobo1
3088f04e6f
Use standard CSS properties instead of vendor specifics
3 years ago
Chocobo1
864dca1b67
Use percentage notation for alpha-values in CSS
3 years ago
Chocobo1
15320018f0
Use shorthand for CSS properties
3 years ago
Chocobo1
6226dd5b80
Add quotes to URL in CSS files
...
Better add quotes: https://stackoverflow.com/a/34383157
3 years ago
Chocobo1
aafc1064d9
Disable CSS selector naming rule
3 years ago
Vladimir Golovnev
4f20769a6c
Use respective subcategory for "watched" torrents
...
Assign respective Subcategory of configured Category to torrents
if Automatic Torrent Management Mode is set for Watched folder.
PR #15603 .
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
ca28fc27dc
Disable deprecated Qt functions
...
Also Qt6 by default set these attributes to our preferred value.
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
dff39ffd20
Fix typo
...
https://doc.qt.io/qt-6/qmake-variable-reference.html#qt-major-version
3 years ago
Chocobo1
7087565d92
Fix typo
3 years ago
Chocobo1
7c8eadfddf
Revert "WebUI: group trackers by hostname"
...
This functionality wasn't ever correctly implemented and couldn't be
done without considerable effort, so revert it for now.
This reverts commit 4ac25a50ed
.
PR #15542 .
3 years ago
xavier2k6
a92a6404cb
Make Python minimum version requirement an argument
3 years ago