Commit 96b8de8c authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix memleak

parent 509134ef
......@@ -272,7 +272,7 @@ void MainWindow::createGlobalPreferences()
{
m_globalPreferences = new Settings( this );
m_globalPreferences->addWidget("VLMC",
new VLMCPreferences,
new VLMCPreferences( m_globalPreferences ),
"../images/vlmc.png",
"VLMC settings");
m_globalPreferences->build();
......
Markdown is supported
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