@@ -88,12 +88,16 int main(int argc, char *argv[]) | |||
|
88 | 88 | } |
|
89 | 89 | else |
|
90 | 90 | { |
|
91 |
|
|
|
91 | QStringList posArgs = parser.positionalArguments(); | |
|
92 | if(posArgs.count()) | |
|
93 | { | |
|
94 | scriptToEval = posArgs.first(); | |
|
92 | 95 | if(!QFile::exists(scriptToEval)) |
|
93 | 96 | { |
|
94 | 97 | scriptToEval.clear(); |
|
95 | 98 | } |
|
96 | 99 | } |
|
100 | } | |
|
97 | 101 | if(parser.isSet(debugLevelOption)) |
|
98 | 102 | { |
|
99 | 103 | bool success; |
General Comments 0
You need to be logged in to leave comments.
Login now