aboutsummaryrefslogtreecommitdiff
path: root/src/BodyItem.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/BodyItem.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/BodyItem.cpp')
-rw-r--r--src/BodyItem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BodyItem.cpp b/src/BodyItem.cpp
index 70d9d45..0b41893 100644
--- a/src/BodyItem.cpp
+++ b/src/BodyItem.cpp
@@ -13,9 +13,9 @@ namespace QuickMedia {
thumbnail_is_local(false),
userdata(nullptr),
timestamp(0),
- title_color(get_current_theme().text_color),
- author_color(get_current_theme().text_color),
- description_color(get_current_theme().text_color)
+ title_color(get_theme().text_color),
+ author_color(get_theme().text_color),
+ description_color(get_theme().text_color)
{
if(!_title.empty())
set_title(std::move(_title));