Commit 4344150b authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX #269] - classes using shared_from_this need to be instanciated as shared_ptr

parent 233daef3
......@@ -391,8 +391,10 @@ void WMainWindow::projectLoad()
QStringList::const_iterator constIterator;
for ( constIterator = fileNames.constBegin(); constIterator != fileNames.constEnd(); ++constIterator )
{
WModuleProjectFileCombiner proj( ( *constIterator ).toStdString() );
proj.run();
boost::shared_ptr< WModuleProjectFileCombiner > proj = boost::shared_ptr< WModuleProjectFileCombiner >(
new WModuleProjectFileCombiner( ( *constIterator ).toStdString() )
);
proj->run();
}
}
......
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