Skip to content

Commit e24496c

Browse files
committedJan 23, 2018
Silence warning
1 parent b8e1f77 commit e24496c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/layout/qgslayoutitempicture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ void QgsLayoutItemPicture::finalizeRestoreFromXml()
840840
{
841841
disconnectMap( mRotationMap );
842842
}
843-
if ( mRotationMap = qobject_cast< QgsLayoutItemMap * >( mLayout->itemByUuid( mRotationMapUuid, true ) ) )
843+
if ( ( mRotationMap = qobject_cast< QgsLayoutItemMap * >( mLayout->itemByUuid( mRotationMapUuid, true ) ) ) )
844844
{
845845
connect( mRotationMap, &QgsLayoutItemMap::mapRotationChanged, this, &QgsLayoutItemPicture::updateMapRotation );
846846
connect( mRotationMap, &QgsLayoutItemMap::extentChanged, this, &QgsLayoutItemPicture::updateMapRotation );

0 commit comments

Comments
 (0)
Please sign in to comment.