fix urgent window icons

This commit is contained in:
2025-12-17 23:34:12 +01:00
parent 11ccd55a52
commit 9b0a036925
11 changed files with 172 additions and 194 deletions

View File

@@ -52,7 +52,7 @@ void VolumeWidget::update() {
std::regex r_number(R"((\d+(?:\.\d+)?))");
std::string text = out;
int percent = -1;
int percent = -1;
if (std::regex_search(text, m, r_percent)) {
percent = static_cast<int>(std::round(std::stod(m[1].str())));