From 29e93ce47f7a52ded8956811d50b93e754caa3a6 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 20 Dec 2004 22:07:09 +0000 Subject: Remove 'looking for plugins' in QPEDIR. Loading external plugins is not fully implemented anyway --- 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 - #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(); -- cgit v0.9.0.2