aboutsummaryrefslogtreecommitdiffstats
path: root/src/activitypub/appost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/activitypub/appost.cpp')
-rw-r--r--src/activitypub/appost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activitypub/appost.cpp b/src/activitypub/appost.cpp
index 24a01f5..87d6f08 100644
--- a/src/activitypub/appost.cpp
+++ b/src/activitypub/appost.cpp
@@ -47,7 +47,7 @@ QString APPost::get_html_render(HtmlRenderDetails render_info) {
if (published.isValid()) {
// Using QLocale::toString() is forward compatible with Qt 6 as QDateTime::toString() will not return anymore a string in the system locale.
html.replace("{{published}}", render_info.locale->toString(
- SettingsInterface::quick_read_setting("ui/timezone").value<AppSettingsTypes::Timezone>() ? published.toUTC() : published.toLocalTime()
+ SettingsInterface::quick_read_setting<AppSettingsTypes::Timezone>("ui/timezone") ? published.toUTC() : published.toLocalTime()
));
}