diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:04 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:54 +0200 |
commit | e21c70f0573896c6503317f4684f2f421a57fd11 (patch) | |
tree | a10be14e724e53e07ea7bd6ac24ddac6957052f9 /src/modules/options/mkcreateinstanceproc.sh | |
parent | edb69b6a65e67dd6368b8b0ae16a8bf4105ca76d (diff) | |
download | kvirc-e21c70f0573896c6503317f4684f2f421a57fd11.tar.gz kvirc-e21c70f0573896c6503317f4684f2f421a57fd11.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit f91149819be7e7f45e68f22876f3c0062a11d4b9)
Diffstat (limited to 'src/modules/options/mkcreateinstanceproc.sh')
-rwxr-xr-x | src/modules/options/mkcreateinstanceproc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh index 1a25a14d..9947aff7 100755 --- a/src/modules/options/mkcreateinstanceproc.sh +++ b/src/modules/options/mkcreateinstanceproc.sh @@ -271,7 +271,7 @@ printclass() fi } -addtqchildren() +addchildren() { if [ -f "$CLASSDIR/$2" ]; then LEVEL=`cat $CLASSDIR/$2` @@ -282,7 +282,7 @@ addtqchildren() echo "$3 e$1->pChildList = new KviPointerList<KviOptionsWidgetInstanceEntry>;" >> $TARGET echo "$3 e$1->pChildList->setAutoDelete(true);" >> $TARGET NEXTLEVEL=`expr $1 + 1` - addtqchildren $NEXTLEVEL $achild "$3 " + addchildren $NEXTLEVEL $achild "$3 " else echo "$3 e$1->pChildList = 0;" >> $TARGET fi @@ -290,7 +290,7 @@ addtqchildren() fi } -addtqchildren 0 NOPARENT "" +addchildren 0 NOPARENT "" rm -fr $CLASSDIR |