Commit graph

7440 commits

Author SHA1 Message Date
sledgehammer999
d686f2dda6 Merge pull request #6250 from evsh/fix-icon-names
Fix icon rendering in Linux
2017-01-18 19:07:41 +02:00
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
6cd233dd61 Add queue repair code
This is a bit adjusted code created by nxd4, who shared it in issue
disappearing).
2017-01-18 17:27:20 +01:00
sledgehammer999
7d55467f4b Merge pull request #6234 from Chocobo1/scroll
For each cell setting ignore wheel events. Closes #866.
2017-01-18 17:40:02 +02: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
Bilal Elmoussaoui
ada75cbbe1 fixes default indicator name
copy icons instead of renaming them, create status folder

rename from *-indicator to *-tray
2017-01-18 01:13:43 +01: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
8380edc00c For each cell setting ignore wheel events. Closes #866. 2017-01-13 17:47:46 +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
Tim Delaney
70ce12372d Follow project coding style. Issue #2192.
--HG--
branch : magao-dev
2017-01-08 11:46:01 +11:00
Bert Verhelst
7fb3962192 Merge branch 'master' of https://github.com/qbittorrent/qBittorrent 2017-01-06 20:14:15 +01:00
Oke Atime
84fe40c492
Webui proxy_type bug fix 2017-01-05 18:43:54 +09:00
Tim Delaney
8949a8ad75 RSS: allow resetting rule to no category. Closes #5539.
--HG--
branch : magao-dev
2016-12-31 16:58:01 +11:00
Tim Delaney
2244b7cb66 RSS episode filter refactoring and logging (prep for later commits).
--HG--
branch : magao-dev
2016-12-31 18:01:22 +11:00
Oke Atime
e89c32685b
Avoid unnecessary translation. Closes #6158 2016-12-31 01:29:47 +09:00
Chocobo1
14a39ba3c3 Speedlimitdlg: raise slider default value to 10000. Closes #6150.
Old value 1000 (KB/s) can be a bit small for modern internet.
2016-12-30 13:41:27 +08:00
Chocobo1
e178e70053 Code rewrite, no behavior change 2016-12-30 13:35:47 +08: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
Chocobo1
bc41e2034c Fix warning: unused parameter ‘action’ [-Wunused-parameter] 2016-12-27 20:19:20 +08:00
sledgehammer999
132cc7f788 Merge pull request #6099 from evsh/cmake
cmake: make prefix variables cached
2016-12-26 13:39:15 +02:00
Oke Atime
5f767b96f6 Build qbittorrent-nox for macOS 2016-12-22 23:23:21 +09: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
dzmat
6ce443424b Clarify options tab page objects names 2016-12-19 19:00:03 +07: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
Eugene Shalygin
05dbea390b Print warning to the user if stacktrace contains no function names
Count matched function names, and if there are no, point out to the user
that the stacktrace is useless. If not all stactrace elements contain
function names, suggest user that installing debug packages may improve
the stacktrace usefulness.
2016-12-17 17:46:05 +01:00
Eugene Shalygin
514de7edc4 Follow project coding style. Issue #2192. 2016-12-17 17:29:43 +01: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