mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Silence warning
This commit is contained in:
parent
b8e1f7707c
commit
e24496cd38
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user