Vladimir Golovnev (Glassez)
399d3ad85a
Replace QStringRef with QStringView
3 years ago
Vladimir Golovnev
699b91ab8d
Properly create "clean path" for watched folder ( #15179 )
3 years ago
AbeniMatteo
abd6eb2ff3
Add context menu to toggle content tab columns ( #15164 )
3 years ago
Thomas Piccirello
32f29e72c6
Support expanding/collapsing Web UI folders with arrow keys
3 years ago
Thomas Piccirello
e76bac4131
Support navigating Web UI tables with arrow keys
...
This allows navigating rows via up/down arrow keys.
3 years ago
Thomas Piccirello
8b94642ab1
Always set Web UI row id as a string
...
This helps ensure consistent behavior when performing rowId comparisons against strings.
3 years ago
Vladimir Golovnev (glassez)
27baa55443
Raise minimum Qt version to 5.15.2
3 years ago
Chocobo1
fd3d4d479a
Suppress type narrowing warning on MSVC
...
Fix up 45e31a153c
.
3 years ago
Chocobo1
4b0a2d050a
Display tooltip for all columns in torrent content widget
...
It is primary useful for showing long file names.
3 years ago
Chocobo1
d85c14864b
Add tooltip for "client ID" column
...
Sometimes the client ID could be quite long and this patch helps showing
it.
3 years ago
Chocobo1
8ec26e9ea9
Don't use old style casts
...
Ref: https://github.com/qbittorrent/qBittorrent/runs/2996702005?check_suite_focus=true#step:8:298
3 years ago
Chocobo1
45e31a153c
Reserve space for vector
3 years ago
Chocobo1
7c23d800e6
Use `underlying_type` member directly
...
`LTUnderlyingType` served as a intermediate type for libtorrent 1.1 and
1.2 and is obsoleted now.
Also add helper to convert to underlying type.
3 years ago
Chocobo1
4dbf6af733
Simplify initialization statement
3 years ago
Chocobo1
bdc03b1c75
Add tooltip for various columns
...
Those strings sometimes are quite long and having a tooltip would
save the action of resizing the column width to see the full message.
The WebUI already has it done for all columns.
3 years ago
AbeniMatteo
9bfc74a1bc
Filter torrent info endpoint by tag ( #15152 )
3 years ago
Vladimir Golovnev
5d03917877
Use torrent info with hashes for creating .torrent file ( #15138 )
3 years ago
Vladimir Golovnev (Glassez)
d2f975a0f3
Don't forget to start "watch timer"
3 years ago
Chocobo1
365554d064
Use proper signed number type
...
This also suppress the compiler warning:
src/base/bittorrent/torrentimpl.cpp:228:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
3 years ago
Chocobo1
70d1cb86fd
Disable move constructor where it is sensible
3 years ago
FranciscoPombal
ccb7c0d579
Raise minimum libtorrent version to 1.2.14 (2.0.4)
...
- Also update vcpkg to latest commit: includes libtorrent 1.2.14,
Qt 5.15.2, and Qt 6.1.1
3 years ago
Andrei Stepanov
5157e4965a
Remove excess space
3 years ago
sledgehammer999
3ffd25f9e1
Bump to 4.4.0beta1
3 years ago
sledgehammer999
665ab34f25
Sync translations from Transifex and run lupdate
3 years ago
Vladimir Golovnev
37f227ae74
Provide v1 and v2 infohashes in UI ( #15097 )
3 years ago
HiFiPhile
f5315d9ba7
Add WebUI reverse proxy source IP resolution ( #15047 )
...
Co-authored-by: qix67
Co-authored-by: HiFiPhile <admin@hifiphile.com>
4 years ago
Vladimir Golovnev (Glassez)
124cc9621d
Delete LoadTorrentParams when load torrent failed
4 years ago
Vladimir Golovnev (Glassez)
3faa7226e7
Handle exception when torrent file cannot be exported
...
Both `lt::create_torrent` constructor and `lt::create_torrent::generate()`
can throw an exception so we need to handle it to prevent the app from crashing.
4 years ago
Vladimir Golovnev (Glassez)
6070b41c9b
Properly add torrent with new tags
...
First, an attempt is made to add new tags to the Session.
Closes #15105 .
4 years ago
Vladimir Golovnev (Glassez)
50ddfea617
Remove lockfile only when last app instance is destroyed
4 years ago
tgregerson
e74ad86f14
Don't close tags menu when toggling items ( #15098 )
...
The issue was resolved by using QAction::toggled signal instead of
QAction::triggered. In QT 5.15+ the latter signal causes a QMenu
to close, whereas the former does not. Closes #13492 .
4 years ago
Vladimir Golovnev (Glassez)
2bd2490539
Disable functions deprecated in Qt 5.14 and earlier
4 years ago
Dmitry Khlestkov
2bd5aca3a4
Keep sub-sorting order ( #15074 )
...
Fixes #15073
4 years ago
Kacper Michajłow
ccb59fbad3
Suppress C4267 conversion warnings ( #13307 )
...
- warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
Caused by mismatch between size_type of std and Qt containers. It is safe to cast to int as all of those containers hold low number of objects.
4 years ago
Vladimir Golovnev (Glassez)
6c66d02aff
Declare AbstractFileStorage destructor virtual
4 years ago
Vladimir Golovnev (Glassez)
97c7f3bc67
Raise minimum Qt version to 5.14
4 years ago
Chocobo1
2503271a45
Fix main window turns blank after restoring from tray ( #15031 )
...
When restoring from tray icon, although the window manager shows qbt
window but qbt itself didn't handle the event correctly, i.e. the
`show()` was missing and thus qbt did nothing and the window is blank.
Note that at this point the `visible` property is `false`.
After invoking `show()` qbt will start showing the contents and also
fire another showEvent where `visible` property is `true` and here is where
qbt should handle preparations for the window.
Fix #9510 .
4 years ago
LoneDev
d335f263f3
Fix comment typo in algorithm.h ( #15030 )
4 years ago
Vladimir Golovnev (Glassez)
b6a35e9477
Don't log any error when "queue" file doesn't exist
4 years ago
Vladimir Golovnev (Glassez)
6aa8251b98
Provide correct error description in "upload mode"
4 years ago
Chocobo1
af49a4dd5a
Sort CSS properties
4 years ago
Chocobo1
b2081faf87
Remove redundant empty line
4 years ago
Chocobo1
f960934eb9
Merge same selector
4 years ago
Chocobo1
5522725f5d
Remove duplicate property
4 years ago
Chocobo1
9f3d36bab0
Remove useless property
...
The `padding` will override the former `padding-top`.
4 years ago
Chocobo1
87e7085c22
Remove empty block
4 years ago
Chocobo1
d8eac56f5e
Use stylelint for CSS linting
4 years ago
Chocobo1
c20557f690
Use cleaned icons
...
By running svgcleaner over qbittorrent_mac.svg.
4 years ago
Chocobo1
65bdc4cf43
Format CSS code with prettier
4 years ago
Chocobo1
ee79c196df
Use prettier for formatting CSS code
4 years ago