OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6254cd
)
reduce branches in qscript tool main() function
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 11 Dec 2019 14:11:18 +0000
(14:11 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 11 Dec 2019 14:11:18 +0000
(14:11 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/tools/qscript/qscript.cpp
patch
|
blob
|
history
diff --git
a/src/tools/qscript/qscript.cpp
b/src/tools/qscript/qscript.cpp
index
afc5c83
..
3f7979d
100644
(file)
--- a/
src/tools/qscript/qscript.cpp
+++ b/
src/tools/qscript/qscript.cpp
@@
-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;
}