Commit b368f773 authored by David Faure's avatar David Faure
Browse files

Fix memory leak detected by ASAN, by passing qApp as parent to QTranslator.

parent 2a669975
Pipeline #56652 passed with stage
in 14 minutes and 13 seconds
......@@ -917,7 +917,7 @@ QString AgentBase::parseArguments(int argc, char **argv)
// strip off full path and possible .exe suffix
const QString catalog = fi.baseName();
auto translator = new QTranslator();
auto translator = new QTranslator(qApp);
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