From f890dd8c22cae9e90d55b763f1d896b25975aeab Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Mon, 27 Nov 2023 20:34:50 -0500 Subject: Remove variants from QtConcurrent in main window The std::variants weren't used and were making the code more complex to no advantage. All code that would have benefited from variants has already been moved to QThreads elsewhere --- src/archive/mastodon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/archive/mastodon.h') diff --git a/src/archive/mastodon.h b/src/archive/mastodon.h index 0d57d7a..75bc7ec 100644 --- a/src/archive/mastodon.h +++ b/src/archive/mastodon.h @@ -15,7 +15,7 @@ class MastodonArchive : public Archive { public: MastodonArchive(const QString& filename); ~MastodonArchive(); - std::variant init(); + InitError init(); void update_status_list(ViewStatusTypes allowed_types, QListWidget *parent); APActivity* get_activity(ArchiveItemRef index, Hinting_t hinting = {}); -- cgit v1.2.3-54-g00ecf