X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a5b2a0646b1822cd2786bf983bfeb8321e9dfa3c..3df642f3d2537dc5531a8d91c6d85927b34b46c7:/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp index 1f2a3c7c..f36792ae 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp @@ -1,7 +1,6 @@ -#include #include -#include +#include #include #include "stg/tariffs.h" @@ -57,12 +56,17 @@ return "Stg configurator v.0.08"; } //----------------------------------------------------------------------------- STG_CONFIG::STG_CONFIG() - : nonstop(false), + : errorStr(), + stgConfigSettings(), + thread(), + nonstop(false), isRunning(false), + config(), users(NULL), admins(NULL), tariffs(NULL), store(NULL), + settings(), stgSettings(NULL) { } @@ -143,7 +147,7 @@ void * STG_CONFIG::Run(void * d) STG_CONFIG * stgConf = (STG_CONFIG *)d; stgConf->isRunning = true; -stgConf->config.Run(&stgConf->config); +stgConf->config.Run(); stgConf->isRunning = false; return NULL;