Skip to content

Commit

Permalink
Silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 23, 2018
1 parent b8e1f77 commit e24496c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitempicture.cpp
Expand Up @@ -840,7 +840,7 @@ void QgsLayoutItemPicture::finalizeRestoreFromXml()
{
disconnectMap( mRotationMap );
}
if ( mRotationMap = qobject_cast< QgsLayoutItemMap * >( mLayout->itemByUuid( mRotationMapUuid, true ) ) )
if ( ( mRotationMap = qobject_cast< QgsLayoutItemMap * >( mLayout->itemByUuid( mRotationMapUuid, true ) ) ) )
{
connect( mRotationMap, &QgsLayoutItemMap::mapRotationChanged, this, &QgsLayoutItemPicture::updateMapRotation );
connect( mRotationMap, &QgsLayoutItemMap::extentChanged, this, &QgsLayoutItemPicture::updateMapRotation );
Expand Down

0 comments on commit e24496c

Please sign in to comment.