summaryrefslogtreecommitdiffstats
path: root/kbarcode/batchwizard.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-29 18:48:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-29 18:48:31 +0900
commit6ca861bdae50e0c0fdbdbda45e2e9b6402d8b2de (patch)
tree1552df0d7041a08628fd6233e013392fd963005e /kbarcode/batchwizard.cpp
parentfc06df3386aadde97693e8f0062d25d3b49afc7a (diff)
downloadkbarcode-6ca861bdae50e0c0fdbdbda45e2e9b6402d8b2de.tar.gz
kbarcode-6ca861bdae50e0c0fdbdbda45e2e9b6402d8b2de.zip
Fix functionality broken by commit fc06df3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kbarcode/batchwizard.cpp')
-rw-r--r--kbarcode/batchwizard.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/kbarcode/batchwizard.cpp b/kbarcode/batchwizard.cpp
index 09c2fe4..c128e36 100644
--- a/kbarcode/batchwizard.cpp
+++ b/kbarcode/batchwizard.cpp
@@ -999,7 +999,6 @@ void BatchWizard::fillVarList()
XMLUtils util;
DocumentItemList list;
- list.setAutoDelete( true );
TokenProvider token( TQT_TQPAINTDEVICE(this) );
Definition* def = NULL;
@@ -1017,8 +1016,8 @@ void BatchWizard::fillVarList()
m_varTable->setNumCols( vars.count() );
for( unsigned int i = 0; i < vars.count(); i++ )
{
- vars[i] = vars[i].right( vars[i].length() - 1 );
- m_varTable->horizontalHeader()->setLabel( i, vars[i] );
+ vars[i] = vars[i].right( vars[i].length() - 1 );
+ m_varTable->horizontalHeader()->setLabel( i, vars[i] );
}
delete def;