Diffstat (limited to 'libopie/pim/otodoaccessxml.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/otodoaccessxml.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/pim/otodoaccessxml.cpp b/libopie/pim/otodoaccessxml.cpp index 31822d4..80b8599 100644 --- a/libopie/pim/otodoaccessxml.cpp +++ b/libopie/pim/otodoaccessxml.cpp | |||
@@ -110,24 +110,25 @@ bool OTodoAccessXML::load() { | |||
110 | /* | 110 | /* |
111 | * add key + value | 111 | * add key + value |
112 | */ | 112 | */ |
113 | todo( &dict, ev, attr, str ); | 113 | todo( &dict, ev, attr, str ); |
114 | 114 | ||
115 | } | 115 | } |
116 | /* | 116 | /* |
117 | * now add it | 117 | * now add it |
118 | */ | 118 | */ |
119 | m_events.insert(ev.uid(), ev ); | 119 | m_events.insert(ev.uid(), ev ); |
120 | } | 120 | } |
121 | 121 | ||
122 | qWarning("counts %d", m_events.count() ); | ||
122 | return true; | 123 | return true; |
123 | } | 124 | } |
124 | bool OTodoAccessXML::reload() { | 125 | bool OTodoAccessXML::reload() { |
125 | return load(); | 126 | return load(); |
126 | } | 127 | } |
127 | bool OTodoAccessXML::save() { | 128 | bool OTodoAccessXML::save() { |
128 | // qWarning("saving"); | 129 | // qWarning("saving"); |
129 | if (!m_opened || !m_changed ) { | 130 | if (!m_opened || !m_changed ) { |
130 | // qWarning("not saving"); | 131 | // qWarning("not saving"); |
131 | return true; | 132 | return true; |
132 | } | 133 | } |
133 | QString strNewFile = m_file + ".new"; | 134 | QString strNewFile = m_file + ".new"; |