-rw-r--r-- | libopie/pim/otodoaccess.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libopie/pim/otodoaccess.cpp b/libopie/pim/otodoaccess.cpp index 5990841..4468812 100644 --- a/libopie/pim/otodoaccess.cpp +++ b/libopie/pim/otodoaccess.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | #include "otodoaccesssql.h" | 5 | #include "otodoaccesssql.h" |
6 | #include "otodoaccess.h" | 6 | #include "otodoaccess.h" |
7 | 7 | #include "obackendfactory.h" | |
8 | 8 | ||
9 | OTodoAccess::OTodoAccess( OTodoAccessBackend* end ) | 9 | OTodoAccess::OTodoAccess( OTodoAccessBackend* end ) |
10 | : QObject(), OPimAccessTemplate<OTodo>( end ), m_todoBackEnd( end ) | 10 | : QObject(), OPimAccessTemplate<OTodo>( end ), m_todoBackEnd( end ) |
@@ -12,6 +12,9 @@ OTodoAccess::OTodoAccess( OTodoAccessBackend* end ) | |||
12 | if (end == 0l ) | 12 | if (end == 0l ) |
13 | m_todoBackEnd = new OTodoAccessBackendSQL( QString::null); | 13 | m_todoBackEnd = new OTodoAccessBackendSQL( QString::null); |
14 | 14 | ||
15 | // if (end == 0l ) | ||
16 | // m_todoBackEnd = OBackendFactory<OTodoAccessBackend>::Default ("todo", QString::null); | ||
17 | |||
15 | setBackEnd( m_todoBackEnd ); | 18 | setBackEnd( m_todoBackEnd ); |
16 | } | 19 | } |
17 | OTodoAccess::~OTodoAccess() { | 20 | OTodoAccess::~OTodoAccess() { |