fix: fix warnings reported by LGTM.com

This commit is contained in:
Sefa Eyeoglu
2022-06-17 16:34:32 +02:00
parent 03e454b71d
commit 9ec260619b
8 changed files with 20 additions and 11 deletions

View File

@ -329,6 +329,11 @@ POTranslator::POTranslator(const QString& filename, QObject* parent) : QTranslat
d->reload();
}
POTranslator::~POTranslator()
{
delete d;
}
QString POTranslator::translate(const char* context, const char* sourceText, const char* disambiguation, int n) const
{
if(disambiguation)