Skip to content

Commit 092a15e

Browse files
Merge pull request #62 from Anna-/pathsDC
#Short paths with '-d' and '-c'
2 parents 8c9a719 + b4b5b0d commit 092a15e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trikGui/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ int main(int argc, char *argv[])
8787
}
8888

8989
configPath = app.arguments()[index + 1];
90+
configPath = QDir(configPath).absolutePath();
9091
if (configPath.right(1) != "/") {
9192
configPath += "/";
9293
}
@@ -101,6 +102,7 @@ int main(int argc, char *argv[])
101102
}
102103

103104
startDirPath = app.arguments()[index + 1];
105+
startDirPath = QDir(startDirPath).absolutePath();
104106
}
105107

106108
if (startDirPath.right(1) != "/") {

0 commit comments

Comments
 (0)