diff options
author | ConfuSomu | 2023-07-10 13:27:34 +0200 |
---|---|---|
committer | ConfuSomu | 2023-07-10 13:42:16 +0200 |
commit | 5befd0666aef0b96e3e4bd41ed704ccaa3ace5d5 (patch) | |
tree | 76402efb62ecf9bc1817910179afc7f71b646e32 /src/list_item.h | |
parent | 9b70e3c5a208a881188bc6468fe27933cbdb02f8 (diff) | |
download | ActorViewer-5befd0666aef0b96e3e4bd41ed704ccaa3ace5d5.tar ActorViewer-5befd0666aef0b96e3e4bd41ed704ccaa3ace5d5.tar.gz ActorViewer-5befd0666aef0b96e3e4bd41ed704ccaa3ace5d5.zip |
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.
Diffstat (limited to 'src/list_item.h')
-rw-r--r-- | src/list_item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list_item.h b/src/list_item.h index 9ca0aac..4514903 100644 --- a/src/list_item.h +++ b/src/list_item.h @@ -13,7 +13,7 @@ public: StatusListItem(const QString &text, StatusType status_type, bool has_attachement, Archive* data_archive, QListWidget *parent = nullptr, int index = 0); int get_status_index(); StatusType get_status_type(); - QString get_info_html(int text_zone_width, QLocale* locale); + const QString get_info_html(int text_zone_width, QLocale* locale); private: int status_index; |