Fixed memory leak.
--HG-- branch : develop
This commit is contained in:
parent
8f47af2c56
commit
2bd5a22218
|
@ -598,9 +598,12 @@ const VTranslateVars *VApplication::TrVars()
|
|||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VApplication::InitTrVars()
|
||||
{
|
||||
if (trVars == nullptr)
|
||||
{
|
||||
trVars = new VTranslateVars(ValentinaSettings()->GetOsSeparator());
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
bool VApplication::event(QEvent *e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user