Eugene Shalygin
a7495fa7b4
Fix crash when adding torrent via a magnet url
...
The file guard object has to be initialised in this case too because it
is accessed when dialog gets accepted or cancelled. Initialise it with
empty path.
9 years ago
Eugene Shalygin
47a3f1d93d
Fix a typo in TorrentFileGuard
9 years ago
Eugene Shalygin
6e73fa80b8
Add option to automatically remove .torrent files upon adding
...
Some browsers do not download files, intended for immediate opening,
into a temporary directory, and thus a regular download directories
accumulate those unneeded files.
The option allows qBittorrent to clean after itself and delete those
files whether they were succesfully added or not (user-selectable
policy).
9 years ago
sledgehammer999
35c51ad3b1
Update definition of QBT_USES_QT5 to be true for qt >= 5.2.0
9 years ago
Chocobo1
5906a4a2de
Add case-sensitive & case-insensitive natural sort helper function
...
Fix helper function not being thread-safe
Use QBT_USES_QT5 define
9 years ago
Chocobo1
71143d1417
Use qmake built-in test function `files` to locate translation files
9 years ago
Chocobo1
a81cf1ea16
Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217 .
9 years ago
zywo
49fb950195
Set about tab font-size to default
9 years ago
Chocobo1
d25430f377
Cleanup headers
...
Move `class NaturalCompare` to .cpp file
9 years ago
Eugene Shalygin
565847ceb3
cmake: add Qt::DBus library dependency for base module
...
This is needed for powermanagement and was mistakenly forgotten
9 years ago
sledgehammer999
0143799623
Don't show added torrent notification during startup.
9 years ago
sledgehammer999
ef6e848756
Display notifications when a torrent is added. Closes #334 and #915 .
9 years ago
Vladimir Golovnev (Glassez)
56287173b1
Fix .!qB extension is added when disabled
9 years ago
Vladimir Golovnev (Glassez)
b8c703b8b0
Use truncated torrent hash in temp path
9 years ago
Vladimir Golovnev (Glassez)
850556fdfa
Use unique temp directories
...
Save torrent in temp_path/<torrent_hash> directory.
Closes #5154 .
9 years ago
Eugene Shalygin
d4e68a159f
cmake: reflect qmake project changes
9 years ago
ngosang
3a49485039
Fix duplicate network interfaces. Closes #5131
9 years ago
ngosang
e542f17809
[Search engine] Fix LegitTorrents plugin
9 years ago
ngosang
06cd41801e
[Search engine] Fix Mininova plugin
9 years ago
ngosang
e4349e8db1
[Search engine] Fix Torrentz plugin for Python2
9 years ago
Eugene Shalygin
3f53f17411
cmake: raise minimal cmake version to 3.5 and use its features
9 years ago
Eugene Shalygin
8b64dd95a5
cmake: drop explicit Boost dependency
...
We get it implicitly from libtorrent
9 years ago
ngosang
7fe5674b9a
Fix Add tracker dialog URL download
9 years ago
ngosang
b7ef066545
Fix Add tracker dialog empty trackers
9 years ago
Vladimir Golovnev (Glassez)
599166ed0f
Delete Import Torrent Dialog
9 years ago
Vladimir Golovnev (Glassez)
2fb6bb00bf
Fix rechecking after torrent is finished
9 years ago
Vladimir Golovnev (Glassez)
e0d9ae3116
Try to find incomplete files for new torrent
9 years ago
Chocobo1
8366fced96
Fix mutually exclusive radio buttons can be unselected.
9 years ago
Chocobo1
96ce409cd1
Enable word wrap for "Run external program" help text
9 years ago
Chocobo1
c52a964a8a
Fix toolbar resizing when m_searchFilter appears/disappears. Closes #5120 .
9 years ago
Chocobo1
2c2638c1fe
Disable `comboHideZero` when `checkHideZero` is unchecked.
...
Disable `checkLimituTPConnections` when `checkuTP` is unchecked.
Minor code formatting
9 years ago
Eugene Shalygin
473e23f992
cmake: add imported target for Libtorrent
9 years ago
Chocobo1
513e8f246b
Morph QToolButton to QPushButton
9 years ago
Chocobo1
7bebc36cd5
Fix path to resource
9 years ago
Chocobo1
626a224382
Minor code formatting
9 years ago
Chocobo1
c3bde7c910
Sort labels with `naturalCompare()`. Closes #3919 .
9 years ago
Chocobo1
d65ff87148
Replace `naturalSort()` with `naturalCompare()`.
9 years ago
Vladimir Golovnev (Glassez)
8e9b0d97ec
Fix torrent adding with existing data
9 years ago
ngosang
2136e41fad
Fix Update all button height in RSS tab
9 years ago
ngosang
bde762cb11
Minor change in Stats dialog
9 years ago
sledgehammer999
a8d2590a4c
Display the filepath when a torrent fails to load. Closes #100 and #805 .
9 years ago
sledgehammer999
49586441f3
Fix log menu item position broken by 1760beed17
.
9 years ago
sledgehammer999
4c79a1d766
Bump API_VERSION to 11.
9 years ago
Chocobo1
34db2f5dd9
Fix qBittorrent doesn't exit immediately when "all donwloads are done -> exit" option enabled.
...
This fix is provided by glassez.
9 years ago
Chocobo1
fbc002f212
Enable access to shutdown functions when configured with `--disable-gui` option
9 years ago
Chocobo1
a1e0fa5509
Fix Coverity Scan 143909.
...
Also, the setting "Confirmation on auto-exit when downloads finish" wasn't working before.
9 years ago
Eugene Shalygin
7c0b5818b1
cmake: add imported target for QtSingleApplication
...
This simplifies cmake code a bit: we remove if's and just generate
different target (imported or alias) with the same name and use it
unconditionally.
9 years ago
Eugene Shalygin
f050f15a0c
cmake: fix Qt resources linkage. Closes #5080
...
Qt resource is innitialized by a static object constructor (see
https://wiki.qt.io/QtResources ). When we put resources into a static
library, the linker removes that static objects and thus the resources
themselves. To correct that we append resources to the main executable
sources list. This is done via custom function qbt_target_sources which
knows where to read the executable' name.
9 years ago
Chocobo1
7d5ab68f50
Fix Coverity Scan cid 143911.
...
`filesCount()` could return a negative value.
9 years ago
Chocobo1
a12d82524a
Fix class member initialize order
9 years ago