Skip to content

feat: support register shortcut #101

feat: support register shortcut

feat: support register shortcut #101

Triggered via pull request December 25, 2023 08:32
@justforlxzjustforlxz
synchronize #54
Status Success
Total duration 31s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
cppcheck: src/treeland/protocols/qshortcutmanager.cpp#L45
There is an unknown macro here somewhere. Configuration is required. If QW_DECLARE_PUBLIC is a macro then please configure it.
cppcheck: src/treeland/protocols/shortcut_manager_impl.cpp#L58
The function 'treeland_shortcut_context_v1_send_register_failed' is never used.
cppcheck: src/treeland/protocols/shortcut_manager_impl.cpp#L148
The function 'treeland_shortcut_manager_v1_create' is never used.
cppcheck: src/treeland/quick/protocols/shortcutmanager.cpp#L24
There is an unknown macro here somewhere. Configuration is required. If W_DECLARE_PUBLIC is a macro then please configure it.
cppcheck: src/treeland/quick/utils/treelandhelper.cpp#L140
Parameter 'a' can be declared with const
cppcheck: src/treeland/quick/utils/treelandhelper.cpp#L126
The function 'addAction' is never used.
cppcheck: src/treeland/quick/utils/treelandhelper.cpp#L138
The function 'removeAction' is never used.
cppcheck: src/treeland/treeland-fake-session/fake-session.cpp#L116
The function 'treeland_shortcut_context_v1_shortcut' is never used.
cppcheck: src/treeland/treeland-fake-session/shortcutmanager.h#L9
Class 'Shortcut' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.