Chocobo1
802af70e2f
Fix typos
6 years ago
Chocobo1
e92209475e
Use range-based for loops
6 years ago
Chocobo1
e288de7ec1
Forward declare as much as possible
6 years ago
Evgeny Lensky
62c72091ce
Change "Add new torrent" dialog to horizontal layout
6 years ago
Chocobo1
c6f3da1097
Improve removeIf() to support set types
...
We can now replace QMutable*Iterator by removeIf() which usage is more consistent with other
algorithm functions.
6 years ago
Ekin Dursun
c0c2fe247b
Don't turn screen blank when closed to system tray
...
Closes #9240 and possibly #9121 , as @zeule suggested here: https://github.com/qbittorrent/qBittorrent/issues/9240#issuecomment-408025722 .
6 years ago
Chocobo1
375de4f8a6
Replace QMap with QHash when sensible
6 years ago
dzmat
7de0f9abed
Change number of time axis divisions from 5 to 6 for convenience
6 years ago
dzmat
0af17bf7e9
Add 12 hour and 24 hour speed graphs
6 years ago
thalieht
25102b9c5d
Increase the download size limit to 100 MiB
6 years ago
Chocobo1
4bf4313862
Initialize class variable via constructor
6 years ago
thalieht
371a090cec
Rename "Prefer encryption" to "Allow encryption"
...
Because it actually prefers non-encryption but allows it if requested.
6 years ago
Chocobo1
1ea61db1fb
Disable downloading tracker favicons by default
...
Workaround for a crash in Qt networking library, source:
https://github.com/qbittorrent/qBittorrent/issues/9667#issuecomment-464445025
Closes #9667 .
6 years ago
thalieht
3731a3ea65
Make num enter key work the same as return in searchjobwidget
6 years ago
Vladimir Golovnev (Glassez)
ead078a38e
Add preliminary support of libtorrent v1.2
...
libtorrent v1.2 should be built with deprecated features enabled.
6 years ago
Chocobo1
cb9a160366
Utilize parent pointer appropriately
6 years ago
Chocobo1
a3019f56b0
Clean up code
6 years ago
thalieht
4c53447d35
Remove the max half-open connections option from GUI
...
Its functionality was deprecated long ago.
6 years ago
thalieht
bcfa62cc76
Rename "#" column to "Tier" in the tracker list
6 years ago
thalieht
cccaca0c01
Center align the section labels in advanced settings
6 years ago
thalieht
3fca49e44d
Add documentation links to some advanced settings
6 years ago
Vladimir Golovnev (Glassez)
746916a963
Use DownloadHandler behind the scenes
6 years ago
Chocobo1
f9e10616d0
Improve AdvancedSettings::addRow()
...
1. Add context to connect().
2. Use QLabel in the left table cell, this allows using rich text formatting, such as HTML links.
6 years ago
paolo-sz
1ea7907e09
Add default tooltip "Searching..." on tab creation.
6 years ago
paolo-sz
22835c0350
Avoid crashes on torrent search
...
qbittorrent closes itself without any error message when a search tab
should be notified of a status change: fixed bad pointer variable catch
in lambda code.
6 years ago
Chocobo1
78b9eafed2
Replace deprecated `qt_mac_set_dock_menu()`
6 years ago
Vladimir Golovnev (Glassez)
6cb15706f5
Reduce number of DownloadManager signals
6 years ago
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
sledgehammer999
5c63ad3b95
Raise minimum Qt version to 5.9.0
6 years ago
Chocobo1
3dd969df64
Replace deprecated QSignalMapper class
6 years ago
Chocobo1
c6ae1aa9d9
Replace deprecated QString::null
6 years ago
thalieht
77aea3c59e
Add const to a few pointer arguments
6 years ago
thalieht
ce437817de
Make various minor changes
6 years ago
thalieht
89dce36e98
Use uniform initialization on some default arguments
6 years ago
thalieht
8a19a0d4a0
Remove const in declarations' arguments that are passed by value
6 years ago
thalieht
70f1537d9f
Add const to almost all remaining vars and arguments that qualify
6 years ago
Chocobo1
e5dca50025
Convert to use private pointer for ui object
6 years ago
Chocobo1
5c0d9b7eab
Load torrent from data directly
6 years ago
Chocobo1
5e3fddf456
Replace QScopedPointer with std::unqiue_ptr
...
These 2 types are very similar and we should prefer the one from C++
standard library, this reduces the number of types in our code base.
Also see:
https://stackoverflow.com/questions/40346393/should-i-use-qscopedpointer-or-stdunique-ptr#comment67966940_40346991
6 years ago
thalieht
8c944bd4e1
Avoid repeating the return type
6 years ago
thalieht
92a290895b
Convert vars into refs to avoid copy construction from const refs
6 years ago
thalieht
400792d18e
Use isEmpty() instead of size() for emptiness
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
thalieht
947c7e1d64
Convert to range-based for loop
6 years ago
thalieht
8a3f942385
Don't use 'else' after return/break
6 years ago
thalieht
445adb0ab4
Convert pass-by-value arguments to const refs where applicable
6 years ago
thalieht
ca3ce87e06
Add const to many vars and arguments
...
Also remove const in declarations' arguments that are passed by value
6 years ago
Chocobo1
6d29a3af60
Make use of std algorithms
6 years ago
Chocobo1
f789df7edf
Add license header
6 years ago
Vladimir Golovnev (Glassez)
5a86c4ac52
Close context menu when content model is reset
...
Closes #9522 .
6 years ago