Calling destructor of notifications manager and hint database

Ensures to translate hints after change of language
This commit is contained in:
David Kocik 2021-09-01 17:58:55 +02:00
parent 5f7a4982f6
commit 42f4de94df
5 changed files with 17 additions and 0 deletions

View file

@ -47,6 +47,9 @@ public:
return 0;
return m_loaded_hints.size();
}
// resets m_initiailized to false and writes used if was initialized
// used when reloading in runtime - like change language
void uninit();
private:
void init();
void load_hints_from_file(const boost::filesystem::path& path);