thalieht
1f36b8b89f
Combine qAsConst() with copyAsConst() to asConst()
6 years ago
thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
thalieht
d668a4fe6d
Fix coding style for various things
6 years ago
Chocobo1
0339e6ee35
Clean up code
6 years ago
Chocobo1
58be2d4bc2
Put WebUI security related options into a groupbox
6 years ago
Chocobo1
344e47dcfb
Add option for WebUI Host header validation
...
Closes #9743 .
6 years ago
Chocobo1
d866033a8e
Fix divide-by-zero crash
...
Previously here was using a cheap method to avoid divisor becoming < 0, but from
the crash stacktrace it seems this is not enough, now the divisor is properly
clamped to have 1 as the minimum.
Also it will now display "Unknown" for invalid calculation results.
Closes #9857 .
6 years ago
thalieht
59fcfdc13b
Allow resizing search filter in search job
...
Allow qBt to resize the search filter in search job because it causes
qBt's width to exceed the screen's width for laptop users.
6 years ago
sledgehammer999
ceb4a0d5fe
Change FossHub RSS url for updates
...
The new RSS format is compatible with our current parser. FossHub will
redirect old URL to the new one so older clients will not be affected.
6 years ago
Chocobo1
626b9eb380
Don't double delete a pointer
...
`m_searchFilterAction` is owned by Qt, so we shouldn't delete it
manually.
6 years ago
dzmat
6fa64c81b7
Fix speed graph "high speeds" bug
6 years ago
Chocobo1
266ce1d226
Clean up SpeedLimitDialog class
6 years ago
Chocobo1
3fa5358c3f
Remove speed limit checkbox in Options dialog
...
This unifies speed limit UI elements throughout the program.
6 years ago
dzmat
fabd7e34f5
Improve scaling of speed graphs
...
Make Y axis scale to fix on predetermined nice looking positions
6 years ago
dzmat
23d924643f
Reduce horizontal graphs resolution
...
Rewrite averaging code and reduce horizontal graphs resolution for
30 minutes and 6 hours graphs to decrease CPU usage.
6 years ago
Stephen Dawkins
d8054f9cb3
Allow to disable downloading REPACK/PROPER matches
6 years ago
dzmat
2d0f0cb372
Allow to disable speed graphs
6 years ago
silverqx
ea404445f6
Clear LineEdit on ESC
6 years ago
Thomas Piccirello
0b6ae68801
Add WebUI search API controller
...
Closes #2495 .
6 years ago
Chocobo1
43fbf8ab3b
Remove default parameter in derived function
...
When derived function have different default value than base, it might cause
unnecessary confusion, see: https://stackoverflow.com/q/3533589
6 years ago
Chocobo1
66ffb01629
Add include guard to headers
6 years ago
Chocobo1
f26a5c3581
Update Python URLs
6 years ago
Chocobo1
7d808cfc99
Fix asking to install Python
...
The dialog asking users to install python is borked since the last refactor, this
commit fixes it.
6 years ago
thalieht
94613c2fa2
Fix some warnings
6 years ago
thalieht
e2b46f01bb
Show "N/A" if there is no scrape
...
Disambiguates whether the tracker send a response of 0 peers/seeds/downloaded or didn't send one at all.
6 years ago
sledgehammer999
eb9f07bcc6
Save option about tracker favicons under correct key
6 years ago
thalieht
ffc2193df9
Preselect name without extension when renaming files
...
And preselect the whole string for everything else.
6 years ago
Thomas Piccirello
c10d237f7a
Don't disable DHT when using force proxy
...
Closes #9292
6 years ago
thalieht
ce3e68670d
Refactor in searchjob to always color visited entries
...
Now it colors multiple entries, when visited at once, via the hotkey or
the Download button.
6 years ago
Chocobo1
718b3f0bf5
Reset button text to default
...
This is to avoid Qt auto-generating code like this:
`buttonAdd->setText(QStringLiteral(""));`
Which makes no sense and triggers clazy warning (Wclazy-empty-qstringliteral).
6 years ago
Chocobo1
d7aa0819d9
Fix values sorted wrong in "Last Activity" column
...
I suspect there could be other negative values.
Closes #9012 .
Also apply the changes to TR_RATIO_LIMIT, avoiding similar problems.
6 years ago
thalieht
7ed0d13de2
Allow setting seq & first/last from context menu without metadata
6 years ago
thalieht
400eafce2b
Rename 2 methods to eliminate ambiguity
6 years ago
thalieht
4dcb0b922e
Add regex option in the search filter's context menu
...
In the search job widget.
6 years ago
Chocobo1
71dcc76a64
Replace png icons with svg
6 years ago
Chocobo1
866408151c
Remove GuiIconProvider::generateDifferentSizes()
...
Let Qt do the scaling seems to be fine.
6 years ago
thalieht
2485525896
Add option for regexps in the transferlist search filter's context menu
6 years ago
sledgehammer999
fd30bf7423
Notify users on 1st time close/minimize to tray
6 years ago
Chocobo1
8e1f3ac016
Make ProgramUpdater upgrade to 64-bit qbt when running on 64-bit Windows
6 years ago
Lukas Greib
48cd993c92
Inhibit sleep regardless of activity
...
"Active torrents" is a somewhat unintuitive concept as a basis for
preventing sleep, as torrents can become active or inactive on the
network at any time. This brings some predictability to the inhibit
sleep option, and will inhibit sleep as long as there are unpaused
downloads or uploads, regardless of network activity.
Closes #1696 , #4592 , #4655 , #7019 , #7159 , #7452
6 years ago
Chocobo1
9612a75faa
Put temporary files in qbt own temp folder
6 years ago
Chocobo1
e1727c9a6a
Refactor GuiIconProvider::generateDifferentSizes()
6 years ago
Chocobo1
9df67b52b8
Add const to function signature
6 years ago
thalieht
c55daeec38
Set "enter" as shortcut to download the selected torrents in search job
6 years ago
Chocobo1
a70219eea0
Move member variable initialization
...
Move the initialization from constructor body to member initializer
list.
Remove superfluous initializer.
6 years ago
Chocobo1
56766dc08b
Avoid binding constant reference to returned object
...
In such cases, it makes no sense doing so.
6 years ago
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
6 years ago
Chocobo1
cb687ba3bd
Add options in AddNewTorrentDialog
...
The new checkboxes are: "Download in sequential order", "Download first
and last pieces first".
6 years ago
Chocobo1
1b406c97da
Revise dialog messages
...
Using critical dialog is a bit too strong as qbt didn't actually run
into something that fails, so downgrade to warning dialog.
6 years ago
thalieht
ae03ecea21
Add hotkey for toggling focus between the search LineEdits
6 years ago