Skip to content

refact: refacting DPlatformHandle to adapt treeland #849

refact: refacting DPlatformHandle to adapt treeland

refact: refacting DPlatformHandle to adapt treeland #849

Triggered via pull request December 18, 2024 09:45
@1820278174318202781743
synchronize #291
Status Success
Total duration 31s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
cppcheck: src/plugins/platform/treeland/dtreelandplatformwindowinterface.h#L32
Class 'DTreeLandPlatformWindowHelper' 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: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L114
Condition '!pv' is always true
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L156
Condition '!clientLeader' is always true
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L179
Condition 'enable_dxcb' is always false
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L207
Condition 'is_enable_dxcb' is always false
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L302
Condition 'is_enable_no_titlebar' is always false
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L320
Condition 'enable_no_titlear' is always false
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L415
Condition '!setWmBlurWindowBackgroundArea' is always true
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L477
Condition '!setWmBlurWindowBackgroundPathList' is always true
cppcheck: src/plugins/platform/xcb/dxcbplatformwindowinterface.cpp#L517
Condition '!setWmWallpaperParameter' is always true