Fixed stupid mistake.
Jeandet Alexis -
r99:bb6776ca85e6 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -88,10 +88,14
88 }
88 }
89 else
89 else
90 {
90 {
91 scriptToEval = parser.positionalArguments().first();
91 QStringList posArgs = parser.positionalArguments();
92 if(!QFile::exists(scriptToEval))
92 if(posArgs.count())
93 {
93 {
94 scriptToEval.clear();
94 scriptToEval = posArgs.first();
95 if(!QFile::exists(scriptToEval))
96 {
97 scriptToEval.clear();
98 }
95 }
99 }
96 }
100 }
97 if(parser.isSet(debugLevelOption))
101 if(parser.isSet(debugLevelOption))
Comments 0
You need to be logged in to leave comments. Login now