wrong empty check fixed
This commit is contained in:
parent
901de11d1b
commit
3bcba6faaf
|
@ -92,7 +92,7 @@ bool Image::deferredUpdates() const
|
||||||
|
|
||||||
void Image::setSourceSize( const QSize& size )
|
void Image::setSourceSize( const QSize& size )
|
||||||
{
|
{
|
||||||
if ( size.isEmpty() != sourceSize().isEmpty() )
|
if ( !( size.isEmpty() && sourceSize().isEmpty() ) )
|
||||||
QQuickImage::setSourceSize( size );
|
QQuickImage::setSourceSize( size );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue