From 81bc0cecdeb7c49f4f2950c1e5649bad05593d0c Mon Sep 17 00:00:00 2001 From: eilers Date: Sat, 08 May 2004 12:38:51 +0000 Subject: Fixed a lot of worse bugs in the databook-backend for SQL. It was found by doing equivalence checks between events, moved between xml and sql backend, using opimconverter.. More bugfixes will follow.. --- (limited to 'libopie2/opiepim/backend') diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp index 6c32b40..f4f3c94 100644 --- a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp +++ b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp @@ -138,7 +138,7 @@ void ODateBookAccessBackend_SQL::initFields() // Create a map that maps the column name to the id QMapConstIterator it; - for ( it = ++m_fieldMap.begin(); it != m_fieldMap.end(); ++it ){ + for ( it = m_fieldMap.begin(); it != m_fieldMap.end(); ++it ){ m_reverseFieldMap.insert( it.data(), it.key() ); } -- cgit v0.9.0.2