Regression: empty dirs are considered expandable
It's introduced by: b1f9c2e5
Now the initial values are count=0, isExpandable=true, so this check prevents updating isExpandable for empty dirs: https://invent.kde.org/system/dolphin/-/blob/f7bf926af16b08652da67715a90a008c65dbb765/src/kitemviews/kfileitemmodelrolesupdater.cpp?page=2#L1341