Closed tsujan closed 2 years ago
This need changes, ~for two reasons~ : (1) lxqt-config
shouldn't need to know about case-insensitivity; ~and (2) it shouldn't list theme variants whose differences are only in letter cases.~
Oh, my memory failed me: (2) isn't a problem because LXQt::LXQtTheme::allThemes()
is used.
Only knowing about case-insensitivity is a logical problem.
I still think, the whole case insensitive comparison of theme directories is wrong concept.
Superseded by https://github.com/lxqt/lxqt-config/pull/848
I still think, the whole case insensitive comparison of theme directories is wrong concept.
Yes, I know that you compare it with MS Windows file system. But it removes unnecessary complications.
BTW, while doing this work, I found a self-inconsistency in liblxqt
. It treats theme paths and theme names on the same level when making a theme object but only uses the theme names in other places.
Fortunately, it doesn't affect any code in LXQt because, everywhere, the names are used for comparisons.
This is needed after https://github.com/lxqt/liblxqt/pull/308