From 9f4b942f01deb3cacd03f1efefe4f7e8d76f3917 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Mon, 17 Jun 2019 22:10:27 +0200 Subject: [PATCH] files in trajectory are absolute --- src/MainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index a507609..22d8bc1 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -861,10 +861,10 @@ bool MainWindow::addPedestrianGroup(int groupID,QString fileName) // try to parse the txt file else if(fileName.endsWith(".txt",Qt::CaseInsensitive)) { - QString source_file= wd + QDir::separator() + SaxParser::extractSourceFileTXT(fileName); - QString ttt_file= wd + QDir::separator() + SaxParser::extractTrainTimeTableFileTXT(fileName); - QString tt_file= wd + QDir::separator() + SaxParser::extractTrainTypeFileTXT(fileName); - QString goal_file=wd + QDir::separator() + SaxParser::extractGoalFileTXT(fileName); + QString source_file= SaxParser::extractSourceFileTXT(fileName); + QString ttt_file= SaxParser::extractTrainTimeTableFileTXT(fileName); + QString tt_file= SaxParser::extractTrainTypeFileTXT(fileName); + QString goal_file=SaxParser::extractGoalFileTXT(fileName); QFileInfo check_file(source_file); if( !(check_file.exists() && check_file.isFile()) ) { -- GitLab