if ( isReference() )
{
- if ( !(QString(referencedObject()->GetName()).isEmpty()) )
+ if ( !(QString(referencedObject()->GetName().c_str()).isEmpty()) )
str = QString( "* " ) + str;
else
str = QString( "<Invalid Reference>" );
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 );
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 );