diff options
author | ConfuSomu | 2023-11-27 20:34:50 -0500 |
---|---|---|
committer | ConfuSomu | 2023-11-27 20:47:53 -0500 |
commit | f890dd8c22cae9e90d55b763f1d896b25975aeab (patch) | |
tree | 73db0a45e54e98468d916f42a4f3ab3acc1f5949 /src/archive/mastodon.cpp | |
parent | d12ac245778c295cf606671021e6aa66bcfc0d80 (diff) | |
download | ActorViewer-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.cpp')
-rw-r--r-- | src/archive/mastodon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/mastodon.cpp b/src/archive/mastodon.cpp index 50253c6..781f928 100644 --- a/src/archive/mastodon.cpp +++ b/src/archive/mastodon.cpp @@ -19,7 +19,7 @@ MastodonArchive::MastodonArchive(const QString& filename) : Archive(filename) {} -std::variant<QString, MastodonArchive::InitError> MastodonArchive::init() { +MastodonArchive::InitError MastodonArchive::init() { QFile outbox_file(main_filename); if (!outbox_file.open(QIODevice::ReadOnly | QIODevice::Text)) |