Commit 27b62b4b authored by Laurent Montel's avatar Laurent Montel
Browse files

It will create mem leak here too I think

parent b368f773
Pipeline #56718 passed with stage
in 12 minutes and 59 seconds
...@@ -557,7 +557,7 @@ QString ResourceBase::parseArguments(int argc, char **argv) ...@@ -557,7 +557,7 @@ QString ResourceBase::parseArguments(int argc, char **argv)
// strip off full path and possible .exe suffix // strip off full path and possible .exe suffix
const QString catalog = fi.baseName(); const QString catalog = fi.baseName();
auto translator = new QTranslator(); auto translator = new QTranslator(qApp);
translator->load(catalog); translator->load(catalog);
QCoreApplication::installTranslator(translator); QCoreApplication::installTranslator(translator);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment