Strart with System settings

This commit is contained in:
jpirnay
2026-04-12 06:12:27 +02:00
parent 552dc37d28
commit c6094dce22
6 changed files with 52 additions and 22 deletions
+3 -5
View File
@@ -108,11 +108,9 @@ std::string UITheme::stripSeparatorTitle(const std::string& title) {
return isSeparatorTitle(title) ? title.substr(2) : title;
}
std::function<bool(int)> UITheme::makeSelectablePredicate(int total,
std::function<std::string(int)> titleGetter) {
return [total, titleGetter](int index) {
return index >= 0 && index < total && !isSeparatorTitle(titleGetter(index));
};
std::function<bool(int)> UITheme::makeSelectablePredicate(int total, std::function<std::string(int)> titleGetter) {
return
[total, titleGetter](int index) { return index >= 0 && index < total && !isSeparatorTitle(titleGetter(index)); };
}
std::string UITheme::getCoverThumbPath(std::string coverBmpPath, int coverHeight) {