X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..6c9674fd15b0c09908119635e9ae5469c99784d6:/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp index 8ba4b0ff..d2ad12b7 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp @@ -84,7 +84,7 @@ port = p; return 0; } //----------------------------------------------------------------------------- -uint16_t STG_CONFIG_SETTINGS::GetPort() +uint16_t STG_CONFIG_SETTINGS::GetPort() const { return port; } @@ -104,9 +104,14 @@ return "Stg configurator v.0.08"; } //----------------------------------------------------------------------------- STG_CONFIG::STG_CONFIG() + : nonstop(false), + isRunning(false), + users(NULL), + admins(NULL), + tariffs(NULL), + store(NULL), + stgSettings(NULL) { -isRunning = false; -nonstop = false; } //----------------------------------------------------------------------------- void STG_CONFIG::SetUsers(USERS * u)