aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/HotExamples.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-08 17:04:31 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-08 17:04:57 +0200
commitda2988c4356d2756e86037b1c7e859f49583c109 (patch)
tree73ca076fa1a0f46fa3e3f1e6016d7bf479113491 /src/plugins/HotExamples.cpp
parent24b0ed2ae8a0d52ceee647e34a943213e9d3bc89 (diff)
Load theme from file (~/.config/quickmedia/themes/<theme-name>.json and /usr/share/quickmedia/themes/<theme-name>.json)
Diffstat (limited to 'src/plugins/HotExamples.cpp')
-rw-r--r--src/plugins/HotExamples.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/HotExamples.cpp b/src/plugins/HotExamples.cpp
index 29e0110..a049101 100644
--- a/src/plugins/HotExamples.cpp
+++ b/src/plugins/HotExamples.cpp
@@ -72,7 +72,7 @@ namespace QuickMedia {
html_unescape_sequences(desc);
(*item_data->body_items)[item_data->index]->set_description(std::move(desc));
- (*item_data->body_items)[item_data->index]->set_description_color(get_current_theme().faded_text_color);
+ (*item_data->body_items)[item_data->index]->set_description_color(get_theme().faded_text_color);
item_data->index++;
}
return 0;
@@ -122,7 +122,7 @@ namespace QuickMedia {
html_unescape_sequences(desc);
(*item_data->body_items)[item_data->index]->set_description(std::move(desc));
- (*item_data->body_items)[item_data->index]->set_description_color(get_current_theme().text_color);
+ (*item_data->body_items)[item_data->index]->set_description_color(get_theme().text_color);
// TODO: Use monospace
item_data->index++;
}