Skip to content
Permalink
Browse files

Silence warning

  • Loading branch information
nyalldawson committed Jan 23, 2018
1 parent b8e1f77 commit e24496cd389a356e2b54a3e3867bfdceba486ec0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/layout/qgslayoutitempicture.cpp
@@ -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 );

0 comments on commit e24496c

Please sign in to comment.
You can’t perform that action at this time.