summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlmanager.cpp
authorzecke <zecke>2004-12-20 22:07:09 (UTC)
committer zecke <zecke>2004-12-20 22:07:09 (UTC)
commit29e93ce47f7a52ded8956811d50b93e754caa3a6 (patch) (side-by-side diff)
treee90b509a24d0e9ce50b2712ab13a7de4fc709493 /libopie2/opiedb/osqlmanager.cpp
parente561899f6cf0c98b428f70df06eaee2ce1912291 (diff)
downloadopie-29e93ce47f7a52ded8956811d50b93e754caa3a6.zip
opie-29e93ce47f7a52ded8956811d50b93e754caa3a6.tar.gz
opie-29e93ce47f7a52ded8956811d50b93e754caa3a6.tar.bz2
Remove 'looking for plugins' in QPEDIR. Loading external plugins
is not fully implemented anyway
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,10 +1,9 @@
-
-#include <stdlib.h>
-
#include "osqlmanager.h"
#include "osqlbackendmanager.h"
#include "osqlitedriver.h"
+
+
namespace Opie {
namespace DB {
@@ -13,12 +12,10 @@ OSQLManager::OSQLManager() {
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 );
m_list = mng.scan();