mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(main): Remove unused sodium_init
Was used by auto-updater which was removed in 7475ba4689
This commit is contained in:
parent
8a8a34ea64
commit
4a74b51bbc
|
@ -41,7 +41,6 @@
|
|||
|
||||
#include <QtWidgets/QMessageBox>
|
||||
#include <ctime>
|
||||
#include <sodium.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#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(".");
|
||||
|
|
Loading…
Reference in New Issue
Block a user