aboutsummaryrefslogtreecommitdiff
path: root/src/Theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Theme.cpp')
-rw-r--r--src/Theme.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Theme.cpp b/src/Theme.cpp
index 8320054..9f525d5 100644
--- a/src/Theme.cpp
+++ b/src/Theme.cpp
@@ -13,7 +13,7 @@ namespace QuickMedia {
if(read_file_as_json(config_path, json_root) && json_root.isObject())
return true;
- config_path = Path("/usr/share/quickmedia/themes/").join(theme_name).append(".json");
+ config_path = Path("/usr/share/quickmedia/themes").join(theme_name).append(".json");
if(read_file_as_json(config_path, json_root) && json_root.isObject())
return true;
@@ -63,8 +63,6 @@ namespace QuickMedia {
fprintf(stderr, "Warning: theme variable \"%s\" is an invalid color value. Expected #RRGGBB or #RRGGBBAA, was: %s\n", field_name, color_str);
return;
}
-
- // TODO: Test on big endian systems
(&new_color.r)[(i - 1)/2] = (c1 << 4) | c2;
}
color = new_color;