forked from quickshell/quickshell
all: fix clang 18 lints
This commit is contained in:
parent
e957e88ccb
commit
2571766d3b
27 changed files with 47 additions and 35 deletions
|
@ -33,7 +33,7 @@ void WrapperManager::componentComplete() {
|
|||
if (childItems.length() == 1) {
|
||||
this->mDefaultChild = childItems.first();
|
||||
if (!child) child = this->mDefaultChild;
|
||||
} else if (childItems.length() != 0) {
|
||||
} else if (!childItems.empty()) {
|
||||
this->flags.setFlag(WrapperManager::HasMultipleChildren);
|
||||
|
||||
if (!child && !this->flags.testFlags(WrapperManager::NullChild)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue