diff options
Diffstat (limited to 'src/utils/translation')
-rw-r--r-- | src/utils/translation/translationmanager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp index e15ff0c0a..0a9a40c09 100644 --- a/src/utils/translation/translationmanager.cpp +++ b/src/utils/translation/translationmanager.cpp @@ -37,15 +37,13 @@ void TranslationManager::init() { - if (translator) - delete translator; + delete translator; translator = PoParser::getEmptyDict(); } void TranslationManager::loadCurrentLang() { - if (translator) - delete translator; + delete translator; translator = loadLang(getLang(), ""); translator = loadLang(getLang(), "help/", translator); } |