Oops forgot I disabled an if

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-15 03:41:19 +03:00
parent 86ecd128f8
commit a67b787386

View File

@@ -124,9 +124,8 @@ static auto get_current_icon_theme() -> std::optional<std::string> const
auto de { detect_desktop_environment() }; auto de { detect_desktop_environment() };
std::transform(de.begin(), de.end(), de.begin(), ::tolower); std::transform(de.begin(), de.end(), de.begin(), ::tolower);
if (0 if (de.find("kde") != std::string::npos
&& (de.find("kde") != std::string::npos || de.find("plasma") != std::string::npos) {
|| de.find("plasma") != std::string::npos)) {
if (auto const t = kde_get_theme(); !t.empty()) { if (auto const t = kde_get_theme(); !t.empty()) {
return t; return t;
} }