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