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
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
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
5c9655abc3
WebAPI: Use specific number to represent non-existing values
...
Closes #15545 .
3 years ago
Daniel Aleksandersen
eb5e1d34df
WebUI: Add meta application name
...
Used for installable/pinned app installs.
PR #15539 .
3 years ago
Daniel Aleksandersen
9e92e5995f
WebUI: Set icon sizes attribute
...
Gives browsers more information to pick the best icon.
PR #15540 .
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
Chocobo1
03cb51844b
Remove redundant define
...
NOMINMAX is already defined in build scripts.
3 years ago
Chocobo1
6b06cc9216
Log error message in DownloadHandlerImpl class
3 years ago
Chocobo1
6b49323f05
Improve error message reporting
3 years ago
Chocobo1
4a11fab2b1
Add constexpr to Sample class functions
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
Vladimir Golovnev (glassez)
b51197936b
QMake: Don't use WinExtras module with Qt6
3 years ago
Jose M. Abuin
64609ce5cf
Add missing double-click action
...
Closes #15422 .
PR #15509 .
3 years ago
Chocobo1
5cf39a2970
Reuse code path
...
`buf.f_type` should be compatible across platforms.
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/statfs.2.html
3 years ago
Chocobo1
1c9321d5a1
Add remote filesystem magic numbers
3 years ago