File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
OMEdit/OMEditGUI/Component Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -316,13 +316,11 @@ void Component::parseAnnotationString(QString annotation)
316316 else if (shape.startsWith (" Bitmap" ))
317317 {
318318 /* get the class file path */
319- QString classFileName;
320- QVariantMap classInformation = mpOMCProxy->getClassInformation (mClassName );
321- classFileName = classInformation[" fileName" ].toString ();
319+ OMCInterface::getClassInformation_res classInformation = mpOMCProxy->getClassInformation (mClassName );
322320 /* create the bitmap shape */
323321 shape = shape.mid (QString (" Bitmap" ).length ());
324322 shape = StringHandler::removeFirstLastBrackets (shape);
325- BitmapAnnotation *pBitmapAnnotation = new BitmapAnnotation (classFileName , shape, this );
323+ BitmapAnnotation *pBitmapAnnotation = new BitmapAnnotation (classInformation. fileName , shape, this );
326324 mShapesList .append (pBitmapAnnotation);
327325 }
328326 }
You can’t perform that action at this time.
0 commit comments