diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-29 18:48:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-29 18:48:31 +0900 |
commit | 6ca861bdae50e0c0fdbdbda45e2e9b6402d8b2de (patch) | |
tree | 1552df0d7041a08628fd6233e013392fd963005e /kbarcode/batchwizard.cpp | |
parent | fc06df3386aadde97693e8f0062d25d3b49afc7a (diff) | |
download | kbarcode-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.cpp | 5 |
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; |