Take into account merge of branch 'asl/hydro_porting_741' in GUI module.

This commit is contained in:
vsr 2014-10-06 15:30:58 +04:00
parent 852ccfccc5
commit f4bb8ea64a

View File

@ -164,7 +164,7 @@ namespace
if ( aPixmap.IsNull() ) { if ( aPixmap.IsNull() ) {
QPixmap px(":images/default_texture.png"); QPixmap px(":images/default_texture.png");
if ( !px.isNull() ) if ( !px.isNull() )
aPixmap = imageToPixmap( px.toImage() ); aPixmap = OCCViewer_Utilities::imageToPixmap( px.toImage() );
} }
return aPixmap; return aPixmap;
} }
@ -198,7 +198,7 @@ namespace
if ( anImage.isNull() ) if ( anImage.isNull() )
return NULL; return NULL;
aPixmap = imageToPixmap( anImage ); aPixmap = OCCViewer_Utilities::imageToPixmap( anImage );
aPixmapCacheMap.insert( thePath, aPixmap ); aPixmapCacheMap.insert( thePath, aPixmap );