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
Chocobo1
b34d90df0b
Fix translation issues
...
By using disambiguation field instead of comment field to differentiate
translations.
5 years ago
thalieht
1f6f1716ad
Enable Super Seeding mode once ratio/time limit is reached
5 years ago
Chocobo1
0b6c1694b4
Update python installer URL
5 years ago
Chocobo1
8d6b9b6181
Revise sort model and delegate code
5 years ago
Chocobo1
061219d0a2
Simplify code
5 years ago
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
5 years ago
Chocobo1
c61116882b
Clean up TransferListModel class
5 years ago
Chocobo1
dcf632b39c
Remove redundant margin properties
...
Those are the same with the default values.
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Thomas Piccirello
378504de2b
Remove Qt bug workaround
...
The Qt bug is fixed in 5.7.1, while we require Qt >= 5.9.0.
5 years ago
Chocobo1
3ab2fe907f
Remove Windows XP remnants
5 years ago