From 4a74b51bbca8cafe792ce94735f038f4f700eea5 Mon Sep 17 00:00:00 2001 From: Anthony Bilinski Date: Wed, 30 Mar 2022 04:58:01 -0700 Subject: [PATCH] refactor(main): Remove unused sodium_init Was used by auto-updater which was removed in 7475ba4689fe84913d6feb6d8c6fb79b1d39c5f3 --- src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index c2ba13a4a..82b4c1ed6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,7 +41,6 @@ #include #include -#include #include #if defined(Q_OS_UNIX) @@ -290,12 +289,6 @@ int main(int argc, char* argv[]) qWarning() << "Can't init IPC, maybe we're in a jail? Continuing with reduced multi-client functionality."; } - // For the auto-updater - if (sodium_init() < 0) { - qCritical() << "Can't init libsodium"; - return EXIT_FAILURE; - } - #ifdef LOG_TO_FILE QString logFileDir = settings->getPaths().getAppCacheDirPath(); QDir(logFileDir).mkpath(".");