update gitignore

parent d1a51407
# Created by https://www.gitignore.io/api/c++,clion,emacs,cmake # Created by https://www.gitignore.io/api/c++,clion,emacs,cmake
# Edit at https://www.gitignore.io/?templates=c++,clion,emacs,cmake # Edit at https://www.gitignore.io/?templates=c++,clion,emacs,cmake
...@@ -184,4 +183,7 @@ flycheck_*.el ...@@ -184,4 +183,7 @@ flycheck_*.el
# End of https://www.gitignore.io/api/c++,clion,emacs,cmake # End of https://www.gitignore.io/api/c++,clion,emacs,cmake
.idea/* .idea/*
\ No newline at end of file
.vscode/
build*
...@@ -680,12 +680,14 @@ bool SaxParser::parseGeometryJPS(QString fileName, GeometryFactory& geoFac) ...@@ -680,12 +680,14 @@ bool SaxParser::parseGeometryJPS(QString fileName, GeometryFactory& geoFac)
double captionsColor=0;//red double captionsColor=0;//red
if(!fileName.endsWith(".xml",Qt::CaseInsensitive)) return false; if(!fileName.endsWith(".xml",Qt::CaseInsensitive)) return false;
QString wd; QString wd;
QDir dir(wd);
SystemSettings::getWorkingDirectory(wd); SystemSettings::getWorkingDirectory(wd);
fileName=wd + "/" + fileName; //TODO: is this windows compatible? QString s = dir.relativeFilePath(fileName);
fileName=wd + QDir::separator() + s;
// QString = QDir::cleanPath(wd + QDir::separator() + fileName); // QString = QDir::cleanPath(wd + QDir::separator() + fileName);
Debug::Messages("filename: <%s)", fileName.toStdString().c_str()); Debug::Messages("filename: <%s)", fileName.toStdString().c_str());
Debug::Messages("wd: <%s>",wd.toStdString().c_str()); Debug::Messages("wd: <%s>",wd.toStdString().c_str());
Debug::Messages("filename2: <%s>",fileName.toStdString().c_str());
Building* building = new Building(); Building* building = new Building();
string geometrypath = fileName.toStdString(); string geometrypath = fileName.toStdString();
// read the geometry // read the geometry
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment