mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Fix a leak in style model
This commit is contained in:
parent
e4dbaa77d2
commit
9db101a49b
@ -69,7 +69,7 @@ void QgsCombinedStyleModel::addStyle( QgsStyle *style )
|
|||||||
addSourceModel( titleModel );
|
addSourceModel( titleModel );
|
||||||
mTitleModels.insert( style, titleModel );
|
mTitleModels.insert( style, titleModel );
|
||||||
|
|
||||||
QgsStyleModel *styleModel = new QgsStyleModel( style );
|
QgsStyleModel *styleModel = new QgsStyleModel( style, this );
|
||||||
|
|
||||||
for ( QSize size : std::as_const( mAdditionalSizes ) )
|
for ( QSize size : std::as_const( mAdditionalSizes ) )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user