Skip to content

feat: add layershell wrap #19

feat: add layershell wrap

feat: add layershell wrap #19

Triggered via pull request October 23, 2023 04:29
@tsic404tsic404
synchronize #2
Status Success
Total duration 1m 7s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
cppcheck: frame/layershell/dlayershellwindow.cpp#L23
Member variable 'DLayerShellWindowPrivate::leftMargin' is not initialized in the constructor.
cppcheck: frame/layershell/dlayershellwindow.cpp#L23
Member variable 'DLayerShellWindowPrivate::rightMargin' is not initialized in the constructor.
cppcheck: frame/layershell/dlayershellwindow.cpp#L23
Member variable 'DLayerShellWindowPrivate::topMargin' is not initialized in the constructor.
cppcheck: frame/layershell/dlayershellwindow.cpp#L23
Member variable 'DLayerShellWindowPrivate::bottomMargin' is not initialized in the constructor.
cppcheck: frame/layershell/dlayershellwindow.cpp#L23
Class 'DLayerShellWindowPrivate' 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.
cppcheck: frame/layershell/dlayershellwindow.cpp#L46
Class 'DLayerShellWindowWaylandPrivate' 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.
cppcheck: frame/layershell/dlayershellwindow.cpp#L68
Class 'DLayerShellWindowX11MockPrivate' 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.
cppcheck: frame/layershell/dlayershellwindow.cpp#L75
The function 'setAnchors' is never used.
cppcheck: frame/layershell/dlayershellwindow.cpp#L140
The function 'setBottomMargin' is never used.
cppcheck: frame/layershell/dlayershellwindow.cpp#L192
The function 'setCloseOnDismissed' is never used.