Commits

Philip Allgaier committed 401290f

- fixed last compilation error

Comments (0)

Files changed (1)

qtOgitor/src/magickwidget.cpp

 //-------------------------------------------------------------------------------------------
 void MagickWidget::openMesh()
 {
-    UTFStringVector extension;
-    QString ext = tr("Mesh Files ");
-    extension.push_back(ext.toStdString());
-    extension.push_back("*.mesh");
+    Ogitors::OgitorsSystem *mSystem = Ogitors::OgitorsSystem::getSingletonPtr();
+    
+    UTFStringVector extlist;
+    extlist.push_back(OTR("Mesh Files"));
+    extlist.push_back("*.mesh");
 
-    Ogitors::OgitorsSystem *mSystem = Ogitors::OgitorsSystem::getSingletonPtr();
-    QString path = mSystem->DisplayOpenDialog(OTR("Open mesh file"), extension).c_str();
+    QString path = mSystem->DisplayOpenDialog(OTR("Open mesh file"), extlist).c_str();
 
     if(path != "")
     {