Skip to content

Commit b4b5b0d

Browse files
committed
you can write short paths with '-d' and '-c'
1 parent 97b5a11 commit b4b5b0d

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)