Eugene Shalygin
00d4f6141f
Do not remove added files unconditionally. Closes #6248
...
If removing of added torrents is enabled and dialog for adding torrents
is disabled, file guard was assuming that torrent is added successfully.
And that can be not the case if a user trying to add a broken torrent
file (or not a torrent file at all). Then this file gets deleted always.
Fix this by checking result of addTorrent_impl().
2017-03-03 01:46:56 +02:00
Eugene Shalygin
ab2411930a
Workaround problem with moc from Qt4 and #if
...
moc from Qt4 ignores Q_ENUMS when it is behind #if QT_VERSION check.
Therefore moc entries for enum in TorrentFileGuard were not generated
and the setting was not saving/loading. This closes #6103 , #5451
2017-03-03 01:46:54 +02:00
Eugene Shalygin
92428cee5d
Set upper version limit for QTBUG-52633
...
The bug seems to be fixed in version 5.7.1.
2017-03-03 01:46:28 +02:00
sledgehammer999
2c7d836925
Don't use hardcoded numbers to refer to columns.
2017-03-03 01:46:27 +02:00
sledgehammer999
7703dcf626
Allow to change priority for unselected files through the combobox like it is done via the context menu.
2017-03-03 01:46:09 +02:00
sledgehammer999
157520c4fc
Always show progress and remaining bytes for unselected files.
2017-03-03 01:46:08 +02:00
sledgehammer999
5bc728fa33
Use a disabled progressbar's palette for unselected files.
...
Thanks to evsh(Eugene Shalygin) for example code.
2017-03-03 01:46:07 +02:00
sledgehammer999
a6e250fa43
WINDOWS: Make the updater to look for the x64 installer if running x64 version.
2016-12-17 19:48:46 +02:00
Oke Atime
b118079379
Make resume/pause menu items clickable. Closes #6040
2016-12-17 19:48:45 +02:00
Oke Atime
cb2d39f2a7
Case insensitive sort for client clumn. Closes #6054
2016-12-17 19:48:45 +02:00
sledgehammer999
4cf549ff25
Fix share ratio limiting. Broken by commit 259b5e51c4. Closes #6039 #6048 .
2016-12-15 00:06:04 +02:00
sledgehammer999
33ae1a7bee
Correctly migrate settings/rss/usage stats in macOS. Closes #6041 .
2016-12-14 18:19:20 +02:00
sledgehammer999
87a3a67668
Fix GUI for proxy settings. Closes #6045 .
2016-12-14 18:19:19 +02:00
sledgehammer999
055b1e0163
Fix slider for per torrent speed limits when no global speed limit has been set. Closes #6046 .
2016-12-14 18:19:19 +02:00
Eugene Shalygin
9a0d25284c
Add a workaround for QTBUG-52633, qBt issue #5073
...
The QTBUG-52633 results in food of network interface changed events, libtorrent IP
rebind calls and flood in the qBt log. The work around is the check not only for
interface name, but for IP address on that interface before triggering the libtorrent rebind.
2016-12-14 02:04:12 +02:00
sledgehammer999
284e836992
New translations: Icelandic, Latvian, Malay, Occitan, Uzbek
...
Also re-run lupdate.
2016-12-13 02:11:45 +02:00
sledgehammer999
43f5b31843
Sync translations from Transifex and run lupdate.
2016-12-13 02:11:44 +02:00
sledgehammer999
cada6cfc88
Bump API_VERSION and API_VERSION_MIN to 11.
2016-12-13 02:11:43 +02:00
sledgehammer999
99f157927f
Polish previous commit.
2016-12-12 21:17:18 +02:00
Yez Ezey
664664394c
Change QSettings to IniFormat on macOS. Closes #5770 #5808
...
On macOS 10.12 Sierra, Apple changed the behaviour of CFPreferencesSetValue()
truncating data after a null character. https://bugreports.qt.io/browse/QTBUG-56344
Due to this, we have to move from native plist to IniFormat.
2016-12-12 21:17:17 +02:00
dzmat
a790901691
minimizing the number of warnings about deprecated auto_ptr
2016-12-12 21:17:17 +02:00
Chocobo1
fdc70eaa62
Change Utils::Fs::freeDiskSpaceOnPath() signature
...
refactor the function internals
2016-12-12 21:17:17 +02:00
Chocobo1
b05a23e1ab
Remove unused variable
2016-12-12 21:17:16 +02:00
Chocobo1
9f6a0882e2
Simplify #if expression
2016-12-12 21:17:16 +02:00
Chocobo1
b351b21e55
Fix memory leak
...
call unicode version of the function directly
2016-12-12 21:17:16 +02:00
Chocobo1
ef22f06e92
Simplify function call
2016-12-12 21:17:16 +02:00
Chocobo1
8ea7426bc1
Replace deprecated classes
2016-12-12 21:17:15 +02:00
Chocobo1
79e7e1727f
Fix unused variable warnings
2016-12-12 21:17:15 +02:00
Chocobo1
98c33dd77c
Rename splitter names
2016-12-12 21:17:15 +02:00
Chocobo1
9c6504f6dd
Use new key for storing RSS splitter_v value.
...
So that old value won't override the RSS layout.
2016-12-12 21:17:14 +02:00
Chocobo1
76c350bdcb
Change RSS view layout to horizontal. Closes #5920 .
...
Thanks Bhaalspawn for the idea.
2016-12-12 21:17:14 +02:00
sledgehammer999
106dcfd00e
Decouple dependency between Session and BandwidthScheduler during Session init. Closes #6007 .
2016-12-12 21:17:14 +02:00
Chocobo1
3159bdf4dd
Fix warning C4090.
...
different '__unaligned' qualifiers.
2016-12-12 21:17:13 +02:00
Chocobo1
97d2c0d187
Fix warning C4267.
...
conversion from 'size_t' to 'int', possible loss of data.
2016-12-12 21:17:13 +02:00
zywo
0041ee3636
Fix CMake compilation error.
2016-12-12 21:17:13 +02:00
Chocobo1
1ed523bec3
Shift + scroll = horizontal scroll, Closes #5980
...
Only for TransferListWidget, PeerListWidget
2016-12-12 21:16:39 +02:00
dzmat
b131a6e9df
memleak fix
2016-12-12 21:16:39 +02:00
sledgehammer999
a77db6e822
Sync translations from Transifex and run lupdate.
2016-12-12 21:16:37 +02:00
Yez Ezey
95a558941e
Fix downloadFromURL bug. Closes #5844
2016-12-12 21:16:37 +02:00
sledgehammer999
a6d381da38
Option to disable tracker's favicon download.
2016-12-12 21:16:36 +02:00
sledgehammer999
f0eb708b07
Remove (mostly) useless log warnings about tracker's favicon.
2016-12-12 21:16:36 +02:00
Yez Ezey
a8b4aca5e6
Set /usr/local/bin before default PATH on macOS. closes #5639 #5571
...
Since Apple made difficult for users to set PATH and /usr/bin/python
is almost unusable, I simply add /usr/local/bin before default PATH
to pick up Homebrew Python.
2016-12-12 21:16:35 +02:00
Anton Lashkov
67e7315eae
Fix name of variable same as class member
2016-12-12 21:16:34 +02:00
Anton Lashkov
a25a15d1c6
Simplify if statement
2016-12-12 21:16:34 +02:00
Anton Lashkov
086588eeed
Add missing else
2016-12-12 21:16:34 +02:00
Anton Lashkov
44fa308681
Fix mistake in getting value from model
2016-12-12 21:16:33 +02:00
Yez Ezey
17d10afd65
Sort torrent names case insensitively
2016-12-12 21:16:33 +02:00
Chocobo1
89bd0e4397
QJson: update to 5e3b9b84b225f4612e09ef05aa6d8c23379e4e71
2016-12-12 21:16:33 +02:00
Yez Ezey
1c1917f885
Fix extratorrent searchengine. Closes #5773
...
They changed to magnet link.
2016-12-12 21:16:32 +02:00
thalieht
642377bd65
Log: set embedded Tracker [OFF] msg type as info
2016-12-12 21:16:32 +02:00