summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/listedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/checkbook/listedit.cpp b/noncore/apps/checkbook/listedit.cpp
index 5026c9d..2612488 100644
--- a/noncore/apps/checkbook/listedit.cpp
+++ b/noncore/apps/checkbook/listedit.cpp
@@ -175,9 +175,9 @@ void ListEdit::fixTypes(int iColumn)
175 ColumnDef *pDef=this->at(iColumn); 175 ColumnDef *pDef=this->at(iColumn);
176 176
177 // create map of entries 177 // create map of entries
178 if( !_typeTable->childCount() ) return; 178 if( !_typeTable->childCount() ) return;
179 ColMap **colMap=new (ColMap *)[_typeTable->childCount()]; 179 ColMap **colMap=new ColMap *[_typeTable->childCount()];
180 QListViewItem *cur=_typeTable->firstChild(); 180 QListViewItem *cur=_typeTable->firstChild();
181 ColList lst; 181 ColList lst;
182 for(int i=0; i<_typeTable->childCount(); i++) { 182 for(int i=0; i<_typeTable->childCount(); i++) {
183 colMap[i]=new ColMap(cur->text(iColumn), cur); 183 colMap[i]=new ColMap(cur->text(iColumn), cur);