aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/mastodon.h
diff options
context:
space:
mode:
authorConfuSomu2023-11-27 20:34:50 -0500
committerConfuSomu2023-11-27 20:47:53 -0500
commitf890dd8c22cae9e90d55b763f1d896b25975aeab (patch)
tree73db0a45e54e98468d916f42a4f3ab3acc1f5949 /src/archive/mastodon.h
parentd12ac245778c295cf606671021e6aa66bcfc0d80 (diff)
downloadActorViewer-f890dd8c22cae9e90d55b763f1d896b25975aeab.tar
ActorViewer-f890dd8c22cae9e90d55b763f1d896b25975aeab.tar.gz
ActorViewer-f890dd8c22cae9e90d55b763f1d896b25975aeab.zip
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
Diffstat (limited to 'src/archive/mastodon.h')
-rw-r--r--src/archive/mastodon.h2
1 files changed, 1 insertions, 1 deletions
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<QString, InitError> init();
+ InitError init();
void update_status_list(ViewStatusTypes allowed_types, QListWidget *parent);
APActivity* get_activity(ArchiveItemRef index, Hinting_t hinting = {});