diff options
Diffstat (limited to 'src/utils/translation')
-rw-r--r-- | src/utils/translation/poparser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/translation/poparser.cpp b/src/utils/translation/poparser.cpp index d4426a2e3..dc201d4b3 100644 --- a/src/utils/translation/poparser.cpp +++ b/src/utils/translation/poparser.cpp @@ -41,6 +41,8 @@ PoParser::PoParser() : void PoParser::openFile(std::string name) { const ResourceManager *const resman = ResourceManager::getInstance(); + if (!resman) + return; int size; char *buf = static_cast<char*>(resman->loadFile(getFileName(name), size)); |