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
Vladimir Golovnev (Glassez)
c631dbdaa1
Improve Properties widget
...
Drop redundant dependencies.
Refresh after BitTorrent session refreshing (instead of using timer).
6 years ago
Chocobo1
5cdb3b6a2d
Load WebUI certificate & key from file path
...
This allow users to update certificate & key more easily, i.e. without the need to import them
into qbt.
Closes #6675 , #7547 , #8315 , #8564 .
6 years ago
sledgehammer999
009fd0e211
Don't query Google for tracker favicons
...
It is a bad idea for user privacy to automatically contact a 3rd party
about tracker domains. Especially when the user isn't informed about
this and the 3rd party is Google.
Reverts 1b9882b3a3
6 years ago
Chocobo1
04227f5a41
Add QBT_APP_64BIT define
...
Now we use QT_POINTER_SIZE to detect CPU bitness, it has the advantage of applicable to all CPU
architectures not limiting to x86 arch.
6 years ago
sledgehammer999
2ac7f2defe
Update copyright year
6 years ago
sledgehammer999
6c6d75f607
Mention Swedish translator
...
Closes #10103
6 years ago
airium
dbca4346aa
Allow setting larger checking memory usage in GUI
6 years ago
Vladimir Golovnev (Glassez)
302c99d7d5
Drop support of libtorrent < 1.1.10
6 years ago
Bert Verhelst
9f8f9b6702
Converted remaining icons to svg
6 years ago
Nick Korotysh
bd1856594b
Draw progress bar in Fusion style on macOS systems
...
Qt has a bug QTBUG-72558, which leads to incorrect progress bar
position, when drawing it in delegate.
Also, since OS X 10.10 Yosemite macOS default style was changed,
and progress bars became very tiny and without text (percentage).
These two cases make qBittorrent look pretty awful, but drawing
progress bar in Fusion style solves both issues.
6 years ago
Chocobo1
2b903fc3d1
Move Utils::Misc::isUrl() function
...
All usage of this function gets to call Net::DownloadManager eventually.
6 years ago
Chocobo1
6759446639
Cleanup code
...
Also remove redundant code, it is already handled correctly in subsequent function calls.
6 years ago
Chocobo1
dd2763d725
Forward declare TorrentHandle
6 years ago
silver
0b47021504
Prevent flickering preview dialog
...
Avoid instantiation of a preview dialog, when torrent is not
previewable
6 years ago
Chocobo1
2a84345835
Mark constructors as explicit
6 years ago
sledgehammer999
5b62aaa9f8
Mention more translators
...
Closes #10043
6 years ago
Thomas Piccirello
718f66e6a2
Remove condition for unsupported libtorrent version
6 years ago
Thomas Piccirello
c89e9d4354
Reorder and rename Tracker list context menu option
...
Adds an ellipses to indicate that the Edit option opens a dialog. Also moves Edit to top of the list to convey action's prominence.
6 years ago
Thomas Piccirello
b481787574
Rename Tracker List columns
...
"Received" renamed to "Peers", "Peers" renamed to "Leeches".
6 years ago
Thomas Piccirello
57e625494b
Update Copyright email address
6 years ago
Thomas Piccirello
f27dc977e9
Replace prio namespace with FilePriority enum class
6 years ago