Vladimir Golovnev (Glassez)
0b4fef19f6
Remove redundant suffix from TorrentHandle class
...
Originally, it was just a wrapper for libtorrent::torrent_handle class, so it mimicked its name.
It was then transformed into a more complex aggregate, but the name was retained (just by inertia).
Unlike libtorrent::torrent_handle class in whose name "handle" means the pattern used,
it does not matter for qBittorrent classes and just eats up space in the source code.
4 years ago
Chocobo1
c669401767
Generate version header when configuring project
...
The basic idea is we create a version header template at
"src/base/version.h.in" and the build systems are expected to replace
strings that are enclosed with @ symbols and generate
"src/base/version.h" for other source files to consume/include.
4 years ago
Chocobo1
be5af2796d
Revise SettingsStorage store/load value interface
4 years ago
Vladimir Golovnev (Glassez)
df2bbe129d
Drop notification about move storage failed
4 years ago
Vladimir Golovnev (Glassez)
f7cae610a4
Drop notification about move storage finished
4 years ago
thalieht
76f285f19c
Convert existing speed dialog to global + alt global limits only
4 years ago
Chocobo1
9f0429ca6f
Use the correct type when referring to info hash
4 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
Chocobo1
b2b7d02c01
Allow adding torrents using "Paste" key sequence
...
Closes #13685 .
4 years ago
Chocobo1
7e258bfe38
Fix typos
4 years ago
thalieht
ede1bd0657
Don't use HTML in Linux tray tooltip
...
HTML is no longer allowed in Linux tray tooltip's title, only in its subtext.
Closes #13030
4 years ago
LoopsGod
7efee615ad
Add CTRL + I shortcut to actionStatistics
...
Mapped the CTRL + I shortcut to open statistics in GUI.
4 years ago
ngosang
71be4f03be
Update minimum Python version to 3.5.0
4 years ago
Vladimir Golovnev (Glassez)
dc3d23c045
Improve torrent loading code
4 years ago
Vladimir Golovnev (Glassez)
bac7fbc68e
Notify user when torrent moving finished
4 years ago
jagannatharjun
43319f2213
Always use UIThemeManager for obtaining icons in GUI
5 years ago
jagannatharjun
ab91d546e5
Move all icon resources to icon folder root
5 years ago
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
5 years ago
jagannatharjun
fd89717330
Convert the Log widget to use custom View/Model
...
Co-authored-by: sledgehammer999 <hammered999@gmail.com>
5 years ago
Chocobo1
f76d56e224
Suppress unused variable warning on macOS
5 years ago
Chocobo1
09545d4036
Fix wrong logic that disables "prevent sleeping" timer
...
Also update power management state early so we don't need to wait for
the timer timeout to have the effect.
5 years ago
Chocobo1
3752453522
Clean up coding style
5 years ago
Chocobo1
7de8a4d6e0
Construct QString more efficiently
5 years ago
Chocobo1
b7e7d8019c
Use helper function to construct QString
...
This is shorter and avoids the need of 2 constructors.
5 years ago
djt3
e6887fc950
Change placeholder text in torrent list's filter
5 years ago
Chocobo1
baa13c044a
Drop python2 support
...
Closes #11811 .
5 years ago
NotTsunami
6748e8d787
Remove redundant null checks
...
Attempting to delete a null pointer is a noop in C++.
Closes #2864 .
[1] https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null
5 years ago
Chocobo1
396660b031
Fix missing string
5 years ago
Chocobo1
2e4584578b
Bump python version for new installation
5 years ago
Chocobo1
58fa5e004f
Improve "stats updated" signal handling in MainWindow class
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
0b6c1694b4
Update python installer URL
5 years ago
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
5 years ago
Chocobo1
3ab2fe907f
Remove Windows XP remnants
5 years ago
Chocobo1
cdb0db02f9
Replace obsoleted QSysInfo functions
5 years ago
Chocobo1
7ab3479a34
Replace static_cast by qOverload
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
thalieht
7b31868e3c
Rename priority to queue in the context of torrents
5 years ago
Chocobo1
412e326cf2
Avoid allocating a new menu/action manually
6 years ago
Vladimir Golovnev (Glassez)
8e65317d61
Rename "fromNativePath" to "toUniformPath"
...
Unlike "toNativePath" which name clearly reflects the function result
"fromNativePath" has no such clear meaning.
Since this function converts path into uniform format "toUniformPath"
is better name.
6 years ago
Chocobo1
3748b995ff
Avoid creating unnecessary event loops
...
The `exec()` method will create another event loop and transfer
control over there which might introduce unexpected bugs.
6 years ago
thalieht
9995967fbf
Remove some unused #include
6 years ago
Chocobo1
49df1cd3c7
Use less operations when building strings
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
4bf4313862
Initialize class variable via constructor
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
Vladimir Golovnev (Glassez)
746916a963
Use DownloadHandler behind the scenes
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