From: env Date: Fri, 26 Aug 2005 11:00:57 +0000 (+0000) Subject: ENV: Windows porting X-Git-Tag: T_3_0_2a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4c84398165c8cd803c5f9b363d30a5ead851ce0;p=modules%2Fgui.git ENV: Windows porting --- diff --git a/src/SalomeApp/SalomeApp_DataObject.cxx b/src/SalomeApp/SalomeApp_DataObject.cxx index 63f39cc61..0e9866fa9 100644 --- a/src/SalomeApp/SalomeApp_DataObject.cxx +++ b/src/SalomeApp/SalomeApp_DataObject.cxx @@ -114,7 +114,7 @@ QString SalomeApp_DataObject::name() const if ( isReference() ) { - if ( !(QString(referencedObject()->GetName()).isEmpty()) ) + if ( !(QString(referencedObject()->GetName().c_str()).isEmpty()) ) str = QString( "* " ) + str; else str = QString( "" ); @@ -187,7 +187,7 @@ QColor SalomeApp_DataObject::color( const ColorRole cr ) const case Text: if ( isReference() ) { - if ( !(QString(referencedObject()->GetName()).isEmpty()) ) + if ( !(QString(referencedObject()->GetName().c_str()).isEmpty()) ) clr = QColor( 255, 0, 0 ); else clr = QColor( 200, 200, 200 ); @@ -205,7 +205,7 @@ QColor SalomeApp_DataObject::color( const ColorRole cr ) const case Highlight: if ( isReference() ) { - if ( !(QString(referencedObject()->GetName()).isEmpty()) ) + if ( !(QString(referencedObject()->GetName().c_str()).isEmpty()) ) clr = QColor( 255, 0, 0 ); else clr = QColor( 200, 200, 200 );