aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index fa4195ce..3df26886 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -40,6 +40,7 @@ INITIALIZE_EASYLOGGINGPP
jmp_buf recover_env;
extern void init_logging();
+extern void init_certs();
extern void init_locale();
extern void handle_signal(int sig);
@@ -64,9 +65,12 @@ int main(int argc, char* argv[]) {
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
- // logging system
+ // config logging system
init_logging();
+ // root certs for tls connection
+ init_certs();
+
// App config
QApplication::setApplicationVersion(BUILD_VERSION);
QApplication::setApplicationName(PROJECT_NAME);