From 5befd0666aef0b96e3e4bd41ed704ccaa3ace5d5 Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Mon, 10 Jul 2023 13:27:34 +0200 Subject: Implement basic multithreading support A few CPU heavy operations, which are opening an archive and displaying a selected Activity, have been moved to another thread to avoid having long-running operations on the main thread. --- src/list_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/list_item.cpp') diff --git a/src/list_item.cpp b/src/list_item.cpp index c74fa39..020ccde 100644 --- a/src/list_item.cpp +++ b/src/list_item.cpp @@ -39,6 +39,6 @@ StatusType StatusListItem::get_status_type() { return status_type; } -QString StatusListItem::get_info_html(int text_zone_width, QLocale* locale) { +const QString StatusListItem::get_info_html(int text_zone_width, QLocale* locale) { return data_archive->get_html_status_info(status_index, text_zone_width, status_type, locale); } -- cgit v1.2.3-54-g00ecf