Address cppcheck complaints

This commit is contained in:
jpirnay
2026-04-04 09:43:15 +02:00
parent 78917c3f5c
commit 25207d57cb
4 changed files with 2 additions and 14 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ void FileBrowserActivity::loop() {
std::string getFileName(std::string filename) {
if (filename.back() == '/') {
filename = filename.substr(0, filename.length() - 1);
filename.pop_back();
if (!UITheme::getInstance().getTheme().showsFileIcons()) {
return "[" + filename + "]";
}