Chocobo1
bb73fa5dbe
Replace a series of `if()` by `switch()`
5 years ago
Prince Gupta
6258c1e65b
Align Properties tab bar correctly on window resize
5 years ago
sledgehammer999
8200ef6bd5
Rework the listening IP/interface selection code
...
Closes #11561
5 years ago
Thomas Piccirello
33a3624652
Rename Country column to "Country / Region"
...
Not all flags displayed strictly belong to countries.
5 years ago
Chocobo1
a92826d316
Fix inconsistent icon for deleting torrent
...
Closes #11565 .
5 years ago
warren
b37795d344
Expand single-item folders in torrent content
5 years ago
Chocobo1
b6050463f4
Show torrent error message in transfer list
5 years ago
Chocobo1
0f2c61a207
Remove redundant type casting
5 years ago
warren
74009f13d9
Add "Preview file" double-click action
5 years ago
Chocobo1
ff4aae11f8
Add required header
...
The header was missing and our cmake CI builds failed as a result.
5 years ago
Xegor
325f36fa4f
Add create subfolder option to RSS auto-download rules
5 years ago
Chocobo1
6fd678195c
Replace deprecated Qt functions
...
QSet::toList() is replaced by QSet::values()
5 years ago
Chocobo1
0f60121b94
Add option to control qBittorrent process memory priority
...
This is to avoid Windows swapping out other application data from
OS cache and put in torrent data which hinders other program
responsiveness.
The default value "Below normal" is choosen because casual users have
other higher priority apps (such as browser) running and they don't
expect OS to swap out its data. Dedicated seeders most probably will not
have other app running on their system and would expect qbt has
priority over other background services.
The option only has effect on Windows >= 8.
5 years ago
Chocobo1
4888b22622
Fix screen scaling factor calculation
...
For some users on Windows the physicalDotsPerInch() could return values
that are smaller than the normal 96 DPI which leads to big dialog sizes
taking the entire screen.
So we need to ensure it is at least 96 DPI.
Closes #11405 , #11407 .
5 years ago
Chocobo1
5e671a4b0b
Allow to select multiple entries in "banned IP" dialog
5 years ago
Chocobo1
0760398e99
Use screen real physical DPI on Windows
...
Previously was using a hardcoded value which might lead to issues like #11234 .
5 years ago
Chocobo1
7f73a71319
Show torrent name in "preview file" related dialogs
5 years ago
Chocobo1
6a462edb72
Don't close preview dialog if selected file failed to open
...
User may have made a mis-selection and this should not close the dialog
(only when the torrent has multiple previewable files).
5 years ago
Chocobo1
7ed0cd0c35
Fix "preview file" action not working
...
Root cause is the PreviewSelectDialog::readyToPreviewFile signal is
emitted before it is connected to a slot.
Only single-file torrents are affected.
Closes #11315 .
5 years ago
Chocobo1
0607050ecc
Clean up PreviewSelectDialog class
5 years ago
Chocobo1
e0a23ba93d
Use InfoHash type in queueing operations
...
This avoids redundant type conversions.
5 years ago
Chocobo1
c632a91ee5
Handle "Delete confirmation" dialog result asynchronously
...
This is to avoid creating nested event loops as discussed in
https://github.com/qbittorrent/qBittorrent/pull/10786#issuecomment-502795822
5 years ago
Chocobo1
19b6f56a0a
Move DeletionConfirmationDialog class to its own .cpp file
5 years ago
thalieht
53e7faa47c
Rename share ratio limiting options
5 years ago
thalieht
07eb261991
Add "Remove torrent and its files" option to share ratio limiting
5 years ago
Chocobo1
58fa5e004f
Improve "stats updated" signal handling in MainWindow class
5 years ago
Chocobo1
418164bee4
Move "torrent status report" functionality out of Session class
5 years ago
Chocobo1
c7ac96c4f5
Add ability to trigger action via keypad Enter
5 years ago
Chocobo1
4a71b78e2d
Group related code together
...
And also rename local variables.
5 years ago
Chocobo1
2152a81d11
Add ability to open file via keypad Enter
...
Closes #11260 .
5 years ago
Chocobo1
82276b2a99
Rename variable
5 years ago
Chocobo1
e3b9659fb8
Fix seeding failed after creating a new torrent
...
Closes #11252 .
5 years ago
Chocobo1
bab953298b
Escape HTML in comment field
5 years ago
Chocobo1
f1243871b0
Remove redundant HTML escaping
...
The text widget is already set to plaintext and doing HTML escaping will
not give us more security but only makes it harder to read.
5 years ago
Chocobo1
edcc74c1ae
Add option to align file to piece boundary when creating new torrent
...
Alignment is achieved by adding dummy pad files between files which is
handled by libtorrent.
Closes #10460 .
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
9dc3b18178
Fix filename validation on non-Windows OS
...
Closes #11191 .
5 years ago
Chocobo1
2396ef5bd6
Move error logging of adding peers to the proper place
5 years ago
Chocobo1
7e0daf1663
Setup pixmap cache in a proper place
...
There is no need to reset the cache limit to previous value as
QPixmapCache is an application wide cache.
Also raise the cache size to 64MB.
5 years ago
Chocobo1
eb784b0d2e
Move "Check for program updates" checkbox out of Advanced settings
5 years ago
Chocobo1
b921d96f4b
Use Q_ASSERT() to check invariants
5 years ago
Chocobo1
72d1d5d2dd
Cut down number of signal emits
5 years ago
Chocobo1
60df790b82
Initialize pointers
...
Fixup aeabd2d625
.
5 years ago
Chocobo1
aeabd2d625
Clean up PeerListWidget class
5 years ago
Chocobo1
8d0d8e4dcb
Improve embedded tracker
...
Now it conforms to BEPs more closely.
5 years ago
thalieht
e26573d97f
Use FileSystemPathEdit in automated rss downloader
5 years ago
Chocobo1
863c9f9876
Speed up lookup operation in TransferListModel
...
Previously lookup is O(n), add operation is O(n), remove operation is
O(n).
Now lookup is O(1), add operation is O(1), remove operation is O(n).
n is the number of torrents already recorded.
5 years ago
Chocobo1
9c964cdd97
Fix using out-of-bounds of indexes
5 years ago
Chocobo1
e3483c62ca
Remove explicit conversion to QVariant
5 years ago
Chocobo1
1f3bf75fff
Better on-demand reloading of torrent data
5 years ago