summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlmanager.cpp
Side-by-side diff
Diffstat (limited to 'libopie2/opiedb/osqlmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlmanager.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/libopie2/opiedb/osqlmanager.cpp b/libopie2/opiedb/osqlmanager.cpp
index f093766..c472f6b 100644
--- a/libopie2/opiedb/osqlmanager.cpp
+++ b/libopie2/opiedb/osqlmanager.cpp
@@ -1,9 +1,8 @@
-
-#include <stdlib.h>
-
#include "osqlmanager.h"
#include "osqlbackendmanager.h"
#include "osqlitedriver.h"
+
+
namespace Opie {
namespace DB {
@@ -14,10 +13,8 @@ OSQLBackEnd::ValueList OSQLManager::queryBackEnd() {
m_list.clear();
QString opie = QString::fromLatin1( getenv("OPIEDIR") );
- QString qpe = QString::fromLatin1( getenv("QPEDIR") );
if ( !m_path.contains(opie) && !opie.isEmpty() )
m_path << opie;
- if ( !m_path.contains(qpe) && !qpe.isEmpty() )
- m_path << qpe;
+
OSQLBackEndManager mng( m_path );