Commit graph

7197 commits

Author SHA1 Message Date
Eugene Shalygin
9bab229108 Adjust icons names to better fit FDO scheme
An icon theme may use variously styled icons for various types of UI
elements. For example, Breeze theme uses monochrome icons for actions
(toolbars) and statuses, but colourful for view contents. qBittorrent
was using icon names without putting attention to categories, creating
mix of styles in UI elements (i.e. the main toolbar).

This commit fixes icon names (and move some of them to theme) to avoid
this style mixes where possible.

Unfortunately, options dialog page icons for network and speed limits
are remained monochrome because there are no Breeze or Adwaita icons to
match.
2017-01-18 18:03:33 +01:00
Eugene Shalygin
3de105704e Do not resize SVG icons
An icon which is loaded from SVG file can be rendered in any size and
resolutions natively. We were generating 16x16, 24x24, and 32x32
pixmaps, and not appending but creating new icon. Therefore for SVG
icons we effectively were reducing their quality.

If icon already contains 7 (or more) sizes (16 to 256 px) we do not
resize it anymore.
2017-01-18 10:26:35 +01:00
Eugene Shalygin
9d3378bd3b Support fallback when selecting theme icons
Fallback icon theme are not supported everywhere. Hence we mimic
signature of QIcon::fromTheme().
2017-01-18 10:26:24 +01:00
sledgehammer999
3c1f747c25 Merge pull request #6235 from Chocobo1/systray_too_large
Fix icon issues
2017-01-18 03:25:58 +02:00
sledgehammer999
5a611b66a5 Merge pull request #6252 from evsh/fix-6248
Do not remove added files unconditionally. Closes #6248
2017-01-18 02:42:10 +02:00
Eugene Shalygin
4c13f155ff 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-01-18 00:04:26 +01:00
Chocobo1
df274e6457 Fix statusIcon too large. Closes #6228. 2017-01-13 22:53:24 +08:00
Chocobo1
08aaff379b Fix download & upload icon too large in systray on linux. Closes #6233. 2017-01-13 16:59:59 +08:00
sledgehammer999
33ada71e4b
Fix Travis macOS builds. 2017-01-12 02:40:44 +02:00
sledgehammer999
e230cde6c4 Merge pull request #6108 from evsh/fix-6103
Workaround problem with moc from Qt4 and #if. Closes #6103, #5451
2017-01-12 02:08:59 +02:00
Eugene Shalygin
de403dcd9d 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-01-12 00:42:37 +01:00
sledgehammer999
48c2901d09
Allow build failures for qt4 and osx for Travis. 2017-01-12 01:12:06 +02:00
sledgehammer999
ca937b72ef
Use custom qt5 bottle for homebrew (macOS) on Travis. 2017-01-12 00:59:28 +02:00
sledgehammer999
28547f4ec5
Add template for issues. 2017-01-11 20:11:59 +02:00
sledgehammer999
c384cc8c8c
Move new icons to their own theme folder. 2017-01-11 18:02:26 +02:00
sledgehammer999
69da12e6b2 Merge pull request #4253 from bertyhell/stylized-icons-main-bar
Switching to stylized icons
2017-01-11 18:01:35 +02:00
sledgehammer999
bf102be567 Merge pull request #6221 from evsh/fix-qt5-log-flood
Set upper version limit for QTBUG-52633
2017-01-11 01:41:46 +02:00
Eugene Shalygin
7b594a635e Set upper version limit for QTBUG-52633
The bug seems to be fixed in version 5.7.1.
2017-01-11 00:14:16 +01:00
Bert Verhelst
7fb3962192 Merge branch 'master' of https://github.com/qbittorrent/qBittorrent 2017-01-06 20:14:15 +01:00
sledgehammer999
88b2b26007
Don't use hardcoded numbers to refer to columns. 2016-12-30 01:37:26 +02:00
sledgehammer999
2d37a39e43
Allow to change priority for unselected files through the combobox like it is done via the context menu. 2016-12-30 01:37:19 +02:00
sledgehammer999
7ba66e692f
Always show progress and remaining bytes for unselected files. 2016-12-30 01:37:13 +02:00
sledgehammer999
3e375128c0
Use a disabled progressbar's palette for unselected files.
Thanks to evsh(Eugene Shalygin) for example code.
2016-12-30 01:37:02 +02:00
sledgehammer999
cd88b5595c
Update gpg key with new uid. 2016-12-27 16:56:35 +02:00
sledgehammer999
132cc7f788 Merge pull request #6099 from evsh/cmake
cmake: make prefix variables cached
2016-12-26 13:39:15 +02:00
Eugene Shalygin
7ed5c65b10 cmake: make prefix variables cached
This allows user to override their default value via -D cmake switch
2016-12-19 17:08:23 +01:00
sledgehammer999
7adb1d7f82 WINDOWS: Make the updater to look for the x64 installer if running x64 version. 2016-12-17 19:46:04 +02:00
sledgehammer999
d330ae2421 Merge pull request #6056 from okeatime/resume_pause
Make resume/pause menu items clickable. Closes #6040
2016-12-16 14:59:08 +02:00
Oke Atime
5ae35ea6dc Make resume/pause menu items clickable. Closes #6040 2016-12-16 21:50:09 +09:00
sledgehammer999
0f0bb7277a Merge pull request #6057 from okeatime/client_sort
Case insensitive sort for client clumn. Closes #6054
2016-12-15 13:29:25 +02:00
Oke Atime
84da355f4c Case insensitive sort for client clumn. Closes #6054 2016-12-15 15:25:30 +09:00
sledgehammer999
4f59caf3ca Fix share ratio limiting. Broken by commit 259b5e51c4. Closes #6039 #6048. 2016-12-15 00:04:50 +02:00
sledgehammer999
b2827702e5 Correctly migrate settings/rss/usage stats in macOS. Closes #6041. 2016-12-14 17:51:49 +02:00
sledgehammer999
435886bbf0 Fix GUI for proxy settings. Closes #6045. 2016-12-14 17:35:23 +02:00
sledgehammer999
5c4db0fa17 Fix slider for per torrent speed limits when no global speed limit has been set. Closes #6046. 2016-12-14 17:18:34 +02:00
sledgehammer999
26e8072c84 Merge pull request #5332 from evsh/fix-qt5-log-flood
Add a workaround for QTBUG-52633, qBt issue #5073
2016-12-13 19:37:17 +02:00
Eugene Shalygin
9a123c42c3 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-13 17:18:58 +01:00
sledgehammer999
283511116e New translations: Icelandic, Latvian, Malay, Occitan, Uzbek
Also re-run lupdate.
2016-12-13 02:09:28 +02:00
sledgehammer999
77da1afae5 Sync translations from Transifex and run lupdate. 2016-12-13 01:02:06 +02:00
sledgehammer999
0caf03130c Bump API_VERSION and API_VERSION_MIN to 11. 2016-12-12 22:11:06 +02:00
sledgehammer999
d88ec48468 Polish previous commit. 2016-12-11 23:24:55 +02:00
sledgehammer999
5a006d5980 Merge pull request #5810 from ghost/macOSpref
Change QSettings to IniFormat on macOS. Closes #5770 #5808
2016-12-11 23:23:22 +02:00
sledgehammer999
4e8ca90b23 Merge pull request #5958 from dzmat/auto_ptr_eviction
minimizing the number of warnings about deprecated auto_ptr
2016-12-10 21:23:42 +02:00
sledgehammer999
07edb7b74e Merge pull request #6010 from Chocobo1/warnings
Fix memory leak
2016-12-10 21:22:41 +02:00
dzmat
abeff99ba0 minimizing the number of warnings about deprecated auto_ptr 2016-12-08 19:24:52 +07:00
Chocobo1
5cf86d3677 Change Utils::Fs::freeDiskSpaceOnPath() signature
refactor the function internals
2016-12-08 15:36:34 +08:00
sledgehammer999
ba1e5b8d58 Merge pull request #6013 from Chocobo1/mac_warnings
Fix warnings on macOS
2016-12-07 16:48:35 +02:00
sledgehammer999
49ed0765e1 Merge pull request #5928 from Chocobo1/rss-view
Change RSS view layout to horizontal
2016-12-07 01:44:56 +02:00
sledgehammer999
0d1b70e248 Decouple dependency between Session and BandwidthScheduler during Session init. Closes #6007. 2016-12-07 01:33:48 +02:00
Chocobo1
ce3c53b3c4 Replace deprecated classes 2016-12-07 01:31:44 +08:00