summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim/core') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/otodoaccess.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/libopie2/opiepim/core/otodoaccess.cpp b/libopie2/opiepim/core/otodoaccess.cpp
index 4468812..80424d9 100644
--- a/libopie2/opiepim/core/otodoaccess.cpp
+++ b/libopie2/opiepim/core/otodoaccess.cpp
@@ -9,11 +9,12 @@
OTodoAccess::OTodoAccess( OTodoAccessBackend* end )
: QObject(), OPimAccessTemplate<OTodo>( end ), m_todoBackEnd( end )
{
- if (end == 0l )
- m_todoBackEnd = new OTodoAccessBackendSQL( QString::null);
+// if (end == 0l )
+// m_todoBackEnd = new OTodoAccessBackendSQL( QString::null);
- // if (end == 0l )
- // m_todoBackEnd = OBackendFactory<OTodoAccessBackend>::Default ("todo", QString::null);
+ // Zecke: Du musst hier noch für das XML-Backend einen Appnamen übergeben !
+ if (end == 0l )
+ m_todoBackEnd = OBackendFactory<OTodoAccessBackend>::Default ("todo", QString::null);
setBackEnd( m_todoBackEnd );
}