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 )
|
||||
{
|
||||
if ( size.isEmpty() != sourceSize().isEmpty() )
|
||||
if ( !( size.isEmpty() && sourceSize().isEmpty() ) )
|
||||
QQuickImage::setSourceSize( size );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user