mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
reduce branches in qscript tool main() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
b6254cd91b
commit
eb9f0b0d96
1 changed files with 2 additions and 3 deletions
|
@ -164,9 +164,8 @@ int main(int argc, char *argv[])
|
|||
debugger = new QScriptEngineDebugger(app);
|
||||
debugger->attachTo(eng);
|
||||
debugger->setAutoShowStandardWindow(true);
|
||||
}
|
||||
|
||||
if (fn == QLatin1String("-i")) {
|
||||
continue;
|
||||
} else if (fn == QLatin1String("-i")) {
|
||||
interactive(eng);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue