feat: support register shortcut #104
Triggered via pull request
December 26, 2023 02:13
justforlxz
synchronize
#54
Status
Success
Total duration
33s
Artifacts
–
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#L12
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.
|