Chocobo1
eff465126e
Fix main window turns blank after restoring from tray ( #15031 )
...
When restoring from tray icon, although the window manager shows qbt
window but qbt itself didn't handle the event correctly, i.e. the
`show()` was missing and thus qbt did nothing and the window is blank.
Note that at this point the `visible` property is `false`.
After invoking `show()` qbt will start showing the contents and also
fire another showEvent where `visible` property is `true` and here is where
qbt should handle preparations for the window.
Fix #9510 .
2021-06-15 14:19:53 +03:00
Chocobo1
482dad00fd
Fix D-Bus Notification desktop-entry field
2021-04-16 14:22:32 +08:00
Vladimir Golovnev (Glassez)
e7f3409053
Don't use deprecated operators
2021-03-23 22:26:44 +02:00
Vladimir Golovnev (Glassez)
3def5e40c4
Include missing header
2021-03-23 22:26:41 +02:00
Vladimir Golovnev (Glassez)
437b51b3a5
Improve "info hash" handling
...
Define "torrent ID" concept, which is either a SHA1 hash for torrents of version 1,
or a SHA256 hash (truncated to SHA1 hash length) for torrents of version 2.
Add support for native libtorrent2 info hashes.
2021-03-23 22:26:18 +02:00
Chocobo1
9c664d04ae
Remove unused lambda capture
2021-03-23 21:05:38 +02:00
Chocobo1
16c858cf61
Prolong checking interval for program updates
2021-03-23 21:05:05 +02:00
Chocobo1
0496543fce
Improve behavior when using ProgramUpdater class
...
This is mainly to avoid involving of `sender()` function.
2021-03-23 21:05:04 +02:00
Chocobo1
01110690da
Don't let "program update" dialog steal focus
...
And also avoid creating an unnecessary event loop.
Closes #14250 .
2021-03-23 21:04:57 +02:00
Chocobo1
c998c7d38d
Disable translation of program name
2021-03-23 21:04:56 +02:00
xavier2k6
c86db0004f
Change qBittorrent Updater window title
2021-03-23 21:04:54 +02:00
Chocobo1
f3c9dbd512
Remove redundant variable declarations
2021-03-23 21:04:52 +02:00
Vladimir Golovnev (Glassez)
1880082017
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.
2021-01-17 22:47:00 +02:00
Chocobo1
77f4e6c2cf
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.
2021-01-06 21:36:39 +02:00
Chocobo1
d7afad835e
Revise SettingsStorage store/load value interface
2021-01-06 21:36:22 +02:00
Vladimir Golovnev (Glassez)
e55582124c
Drop notification about move storage failed
2021-01-06 21:36:17 +02:00
Vladimir Golovnev (Glassez)
bd8b06c607
Drop notification about move storage finished
2021-01-06 21:36:16 +02:00
thalieht
b9602cc6ab
Convert existing speed dialog to global + alt global limits only
2021-01-06 21:31:25 +02:00
Chocobo1
177ac32a5e
Use the correct type when referring to info hash
2020-12-26 20:26:55 +02:00
Vladimir Golovnev (Glassez)
1728c16580
Improve coding style
2020-11-24 16:14:14 +02:00
Chocobo1
7d3ecfa9a6
Allow adding torrents using "Paste" key sequence
...
Closes #13685 .
2020-11-24 16:13:52 +02:00
Chocobo1
f02b65b866
Fix typos
2020-11-24 16:13:19 +02:00
Mike Tzou
ff82063520
Merge pull request #13366 from qbittorrent/linuxtrayhtml
...
Don't use HTML in Linux tray tooltip
2020-09-15 12:31:49 +08:00
Mike Tzou
49e55d5a5d
Merge pull request #13268 from ngosang/feature/python35-
...
Update minimum Python version to 3.5.0
2020-09-14 12:03:20 +08:00
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
2020-09-13 12:43:55 +03:00
LoopsGod
7efee615ad
Add CTRL + I shortcut to actionStatistics
...
Mapped the CTRL + I shortcut to open statistics in GUI.
2020-08-26 09:57:44 +02:00
ngosang
71be4f03be
Update minimum Python version to 3.5.0
2020-08-18 20:56:39 +02:00
Vladimir Golovnev (Glassez)
dc3d23c045
Improve torrent loading code
2020-08-09 12:11:07 +03:00
Vladimir Golovnev (Glassez)
bac7fbc68e
Notify user when torrent moving finished
2020-07-26 14:31:58 +03:00
jagannatharjun
43319f2213
Always use UIThemeManager for obtaining icons in GUI
2020-05-22 11:06:10 +05:30
jagannatharjun
ab91d546e5
Move all icon resources to icon folder root
2020-05-18 20:30:51 +05:30
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
2020-05-01 17:02:49 +03:00
Mike Tzou
a5fe96f793
Merge pull request #12458 from jagannatharjun/log
...
Convert the Log widget to use custom View/Model
2020-04-17 11:27:35 +08:00
jagannatharjun
fd89717330
Convert the Log widget to use custom View/Model
...
Co-authored-by: sledgehammer999 <hammered999@gmail.com >
2020-04-15 22:18:00 +05:30
Chocobo1
f76d56e224
Suppress unused variable warning on macOS
2020-04-07 16:02:10 +08:00
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.
2020-04-04 12:15:56 +08:00
Chocobo1
3752453522
Clean up coding style
2020-04-04 12:15:54 +08:00
Chocobo1
7de8a4d6e0
Construct QString more efficiently
2020-03-25 12:00:11 +08:00
Chocobo1
b7e7d8019c
Use helper function to construct QString
...
This is shorter and avoids the need of 2 constructors.
2020-03-16 21:27:42 +08:00
Mike Tzou
dc4e9e3779
Merge pull request #11813 from Chocobo1/python
...
Drop python2 support
2020-03-07 10:18:45 +08:00
djt3
e6887fc950
Change placeholder text in torrent list's filter
2020-02-23 14:40:45 +00:00
Chocobo1
baa13c044a
Drop python2 support
...
Closes #11811 .
2020-02-08 12:36:45 +08:00
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
2020-02-03 16:38:51 -05:00
Chocobo1
396660b031
Fix missing string
2020-01-11 18:48:49 +08:00
Chocobo1
2e4584578b
Bump python version for new installation
2020-01-11 18:48:01 +08:00
Chocobo1
58fa5e004f
Improve "stats updated" signal handling in MainWindow class
2019-09-24 11:51:29 +08:00
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
2019-09-05 20:16:18 +08:00
Chocobo1
0b6c1694b4
Update python installer URL
2019-08-09 12:47:52 +08:00
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
2019-08-08 18:57:54 +08:00
Chocobo1
3ab2fe907f
Remove Windows XP remnants
2019-07-31 02:10:22 +08:00