-rw-r--r-- | libopie/pim/odatebookaccessbackend_xml.cpp | 4 | ||||
-rw-r--r-- | libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/libopie/pim/odatebookaccessbackend_xml.cpp b/libopie/pim/odatebookaccessbackend_xml.cpp index 5239d84..bc51996 100644 --- a/libopie/pim/odatebookaccessbackend_xml.cpp +++ b/libopie/pim/odatebookaccessbackend_xml.cpp @@ -152,6 +152,5 @@ bool ODateBookAccessBackend_XML::reload() { } bool ODateBookAccessBackend_XML::save() { - qWarning("going to save now"); -// if (!m_changed) return true; + if (!m_changed) return true; int total_written; @@ -193,5 +192,4 @@ bool ODateBookAccessBackend_XML::save() { f.close(); - exit(0); if ( ::rename( strFileNew, m_name ) < 0 ) { QFile::remove( strFileNew ); diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp b/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp index 5239d84..bc51996 100644 --- a/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp +++ b/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp @@ -152,6 +152,5 @@ bool ODateBookAccessBackend_XML::reload() { } bool ODateBookAccessBackend_XML::save() { - qWarning("going to save now"); -// if (!m_changed) return true; + if (!m_changed) return true; int total_written; @@ -193,5 +192,4 @@ bool ODateBookAccessBackend_XML::save() { f.close(); - exit(0); if ( ::rename( strFileNew, m_name ) < 0 ) { QFile::remove( strFileNew ); |