| Summary: | ktorrent-5.1.0/libktcore/plugin/pluginmanager.cpp:95: bad if ? | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | dcb314 |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/ktorrent/9f681042844454214110a92dd5a2ca75492e914e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
Git commit 9f681042844454214110a92dd5a2ca75492e914e by Christoph Feck. Committed on 30/08/2018 at 23:44. Pushed by cfeck into branch 'master'. GIT_SILENT Fix conditional expression M +1 -1 libktcore/plugin/pluginmanager.cpp https://commits.kde.org/ktorrent/9f681042844454214110a92dd5a2ca75492e914e Thanks, pushed. |
ktorrent-5.1.0/libktcore/plugin/pluginmanager.cpp:95]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses. Source code is if (loaded.contains(idx) & !pi.isPluginEnabled()) Maybe better code if (loaded.contains(idx) && !pi.isPluginEnabled())