summaryrefslogtreecommitdiff
path: root/QCSXCAD/QCSXCAD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'QCSXCAD/QCSXCAD.cpp')
-rw-r--r--QCSXCAD/QCSXCAD.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/QCSXCAD/QCSXCAD.cpp b/QCSXCAD/QCSXCAD.cpp
index 4cd4a74..b9ef094 100644
--- a/QCSXCAD/QCSXCAD.cpp
+++ b/QCSXCAD/QCSXCAD.cpp
@@ -299,7 +299,7 @@ bool QCSXCAD::ReadNode(TiXmlNode* root)
if (root==NULL) return false;
clear();
QString msg(ReadFromXML(root));
- if (msg.isEmpty()==false) QMessageBox::warning(this,tr("Geometry read error"),tr("An geometry read error occured!!\n\n")+msg,QMessageBox::Ok,QMessageBox::NoButton);
+ if (msg.isEmpty()==false) QMessageBox::warning(this,tr("Geometry read error"),tr("An geometry read error occurred!!\n\n")+msg,QMessageBox::Ok,QMessageBox::NoButton);
CSTree->UpdateTree();
CSTree->expandAll();
setModified();
@@ -336,7 +336,7 @@ bool QCSXCAD::ReadFile(QString filename)
// QString msg(ReadFromXML(filename.toLatin1().constData()));
QString msg(ReadFromXML(root));
if (msg.isEmpty()==false)
- QMessageBox::warning(this,tr("Geometry read error"),tr("An geometry read error occured!!\n\n")+msg,QMessageBox::Ok,QMessageBox::NoButton);
+ QMessageBox::warning(this,tr("Geometry read error"),tr("An geometry read error occurred!!\n\n")+msg,QMessageBox::Ok,QMessageBox::NoButton);
CSTree->UpdateTree();
CSTree->expandAll();
@@ -720,7 +720,7 @@ void QCSXCAD::ExportGeometry()
if (qFilename==NULL) return;
if (!qFilename.endsWith(".xml")) qFilename+=".xml";
- if (Write2XML(qFilename.toLatin1().data())==false) QMessageBox::warning(this,tr("Geometry Export"),tr("Unknown error occured! Geometry Export failed"),1,0);
+ if (Write2XML(qFilename.toLatin1().data())==false) QMessageBox::warning(this,tr("Geometry Export"),tr("Unknown error occurred! Geometry Export failed"),1,0);
}
void QCSXCAD::ExportGeometry_Povray()
@@ -802,7 +802,7 @@ void QCSXCAD::ExportGeometry(QString dirname, int type)
StructureVTK->ExportProperty2PLY(uID,filename,clGrid.GetDeltaUnit());
break;
default:
- QMessageBox::warning(this, "Export Dialog","Unkown export type, skipping...");
+ QMessageBox::warning(this, "Export Dialog","Unknown export type, skipping...");
return;
break;
}