fix(cppcheck): clang format

This commit is contained in:
Brackyt 2026-01-27 23:51:18 +01:00
parent bd28d9d648
commit 5e9e53cc13
3 changed files with 9 additions and 11 deletions

View File

@ -56,9 +56,7 @@ UIElement* ThemeManager::createElement(const std::string& id, const std::string&
}
// Parse integer safely - returns 0 on error
static int parseIntSafe(const std::string& val) {
return static_cast<int>(std::strtol(val.c_str(), nullptr, 10));
}
static int parseIntSafe(const std::string& val) { return static_cast<int>(std::strtol(val.c_str(), nullptr, 10)); }
void ThemeManager::applyProperties(UIElement* elem, const std::map<std::string, std::string>& props) {
const auto elemType = elem->getType();