Skip to content

Commit

Permalink
Fix freeze on startup when having a big MD5 list (issue #2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Sep 5, 2020
1 parent 9fee8a2 commit 75790e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <QApplication>
#include <QDir>
#include <QSettings>
#include <QSslSocket>
#include <QStringList>
#include <QTextStream>
#include "analytics.h"
Expand Down Expand Up @@ -101,6 +102,9 @@ int main(int argc, char *argv[])
parser.addHelpOption();
parser.addVersionOption();

// Ensure SSL libraries are loaded
QSslSocket::supportsSsl();

Profile *profile = new Profile(savePath());
profile->purgeTemp(24 * 60 * 60);
QSettings *settings = profile->getSettings();
Expand Down

0 comments on commit 75790e4

Please sign in to comment.