]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
ENV: Windows porting
authorenv <env@opencascade.com>
Fri, 26 Aug 2005 10:45:29 +0000 (10:45 +0000)
committerenv <env@opencascade.com>
Fri, 26 Aug 2005 10:45:29 +0000 (10:45 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index fa0d6a15604998eeb637f6b67de4fcf700d15cdd..742ecab766d682827e33d10b0f4be24d7fa3a1b1 100644 (file)
@@ -1993,7 +1993,7 @@ void SalomeApp_Application::contextMenuPopup( const QString& type, QPopupMenu* t
          if ( it.Value()->hasEntry() )
            {
              _PTR(SObject) aSObject = aStudyDS->FindObjectID( it.Value()->getEntry() );
-             if ( aSObject->ReferencedObject(anObj) == false || !QString(anObj->GetName()).isEmpty() )
+             if ( aSObject->ReferencedObject(anObj) == false || !QString(anObj->GetName().c_str()).isEmpty() )
                isInvalidRefs = false;
            }
        }