wxqt: correct formatting and casting, no functional change
This commit is contained in:
committed by
Vadim Zeitlin
parent
42144b93b7
commit
169d61edb7
@@ -264,7 +264,7 @@ int wxBitmap::GetDepth() const
|
||||
wxImage wxBitmap::ConvertToImage() const
|
||||
{
|
||||
QPixmap pixmap(M_PIXDATA);
|
||||
if(M_MASK && M_MASK->GetHandle())
|
||||
if ( M_MASK && M_MASK->GetHandle() )
|
||||
pixmap.setMask(*M_MASK->GetHandle());
|
||||
return ConvertImage(pixmap.toImage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user