Skip to content

refactor: [core] append controller to replace windowkeeper later #594

refactor: [core] append controller to replace windowkeeper later

refactor: [core] append controller to replace windowkeeper later #594

Triggered via pull request January 18, 2024 01:41
@LiHua000LiHua000
synchronize #330
Status Success
Total duration 4m 32s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
cppcheck: src/plugins/core/mainframe/controller.cpp#L104
Either the condition 'd' is redundant or there is possible null pointer dereference: d.
cppcheck: src/plugins/core/mainframe/controller.cpp#L282
Either the condition '!action' is redundant or there is possible null pointer dereference: action.
cppcheck: src/plugins/core/mainframe/controller.cpp#L346
Local variable 'action' shadows outer argument
cppcheck: src/plugins/core/mainframe/controller.cpp#L269
Consider using std::find_if algorithm instead of a raw loop.
cppcheck: src/plugins/core/mainframe/controller.cpp#L313
Consider using std::find_if algorithm instead of a raw loop.
cppcheck: src/plugins/core/mainframe/controller.cpp#L337
Consider using std::find_if algorithm instead of a raw loop.
cppcheck: src/plugins/core/mainframe/controller.cpp#L83
Variable 'windowService' is assigned a value that is never used.
cppcheck: src/plugins/core/mainframe/controller.cpp#L182
The function 'addNavigationToBottom' is never used.
cppcheck: src/plugins/core/mainframe/controller.cpp#L242
The function 'hideContextWidget' is never used.
cppcheck: src/plugins/core/mainframe/controller.cpp#L140
The function 'setPreviousView' is never used.