X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;f=src%2Flibs%2FCommon%2Fglobals.cpp;h=b981fff43ceee7f65537fe162d19c58e11475aa4;hb=12fe56ffc347b9a7b2a5ec140ec874038cde8c3b;hp=63d4bce2bd6c3a988c333459d3e42220fb56957d;hpb=be0e791df48f5a8c9bb4c16f65b62e41e1149552;p=evaf
diff --git a/src/libs/Common/globals.cpp b/src/libs/Common/globals.cpp
index 63d4bce..b981fff 100644
--- a/src/libs/Common/globals.cpp
+++ b/src/libs/Common/globals.cpp
@@ -19,6 +19,7 @@
#include "globals.h"
#include "app.h"
+#include "config.h"
#include "logger.h"
#include "version.h"
#include "ilogger.h"
@@ -51,6 +52,12 @@ bool eVaf::Common::init()
if (!logger->init())
return false;
}
+ eVaf::Common::Internal::Config * config =
+ qobject_cast(eVaf::Common::iConfig::instance());
+ if (config) {
+ if (!config->init())
+ return false;
+ }
EVAF_INFO("%s-Globals initialized", VER_MODULE_NAME_STR);