From c91e96258b6c127201397dd5309c4433655e63b2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 11 Jan 2012 16:53:26 -0600 Subject: Apply a number of kexi patches This closes Bug 777 --- kexi/plugins/forms/kexidataprovider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kexi/plugins/forms') diff --git a/kexi/plugins/forms/kexidataprovider.cpp b/kexi/plugins/forms/kexidataprovider.cpp index 1a6df899..35e51dc1 100644 --- a/kexi/plugins/forms/kexidataprovider.cpp +++ b/kexi/plugins/forms/kexidataprovider.cpp @@ -153,7 +153,7 @@ void KexiFormDataProvider::fillDuplicatedDataItems( count = it_dup.data(); tmpDuplicatedItems.insert( it.current()->columnInfo()->field, ++count ); } - m_duplicatedItems = new TQPtrDict(101); + m_duplicatedItems = new TQPtrDict(1009); for (it_dup = tmpDuplicatedItems.begin(); it_dup!=tmpDuplicatedItems.end(); ++it_dup) { if (it_dup.data() > 1) { m_duplicatedItems->insert( it_dup.key(), (char*)1 ); @@ -260,7 +260,7 @@ void KexiFormDataProvider::invalidateDataSources( const TQDict& invalidSou // m_fieldNumbersForDataItems = newFieldNumbersForDataItems; //update data sources set (some of them may be removed) - TQDict tmpUsedDataSources(1013); + TQDict tmpUsedDataSources(1009); if (query) query->debug(); -- cgit v1.2.1