author | zecke <zecke> | 2004-12-20 22:07:09 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-12-20 22:07:09 (UTC) |
commit | 29e93ce47f7a52ded8956811d50b93e754caa3a6 (patch) (unidiff) | |
tree | e90b509a24d0e9ce50b2712ab13a7de4fc709493 /libopie2/opiedb | |
parent | e561899f6cf0c98b428f70df06eaee2ce1912291 (diff) | |
download | opie-29e93ce47f7a52ded8956811d50b93e754caa3a6.zip opie-29e93ce47f7a52ded8956811d50b93e754caa3a6.tar.gz opie-29e93ce47f7a52ded8956811d50b93e754caa3a6.tar.bz2 |
Remove 'looking for plugins' in QPEDIR. Loading external plugins
is not fully implemented anyway
-rw-r--r-- | libopie2/opiedb/osqlmanager.cpp | 9 |
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 @@ | |||
1 | |||
2 | #include <stdlib.h> | ||
3 | |||
4 | #include "osqlmanager.h" | 1 | #include "osqlmanager.h" |
5 | #include "osqlbackendmanager.h" | 2 | #include "osqlbackendmanager.h" |
6 | #include "osqlitedriver.h" | 3 | #include "osqlitedriver.h" |
7 | 4 | ||
5 | |||
6 | |||
8 | namespace Opie { | 7 | namespace Opie { |
9 | namespace DB { | 8 | namespace DB { |
10 | 9 | ||
@@ -13,12 +12,10 @@ OSQLManager::OSQLManager() { | |||
13 | OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { | 12 | OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { |
14 | m_list.clear(); | 13 | m_list.clear(); |
15 | QString opie = QString::fromLatin1( getenv("OPIEDIR") ); | 14 | QString opie = QString::fromLatin1( getenv("OPIEDIR") ); |
16 | QString qpe = QString::fromLatin1( getenv("QPEDIR") ); | ||
17 | 15 | ||
18 | if ( !m_path.contains(opie) && !opie.isEmpty() ) | 16 | if ( !m_path.contains(opie) && !opie.isEmpty() ) |
19 | m_path << opie; | 17 | m_path << opie; |
20 | if ( !m_path.contains(qpe) && !qpe.isEmpty() ) | 18 | |
21 | m_path << qpe; | ||
22 | 19 | ||
23 | OSQLBackEndManager mng( m_path ); | 20 | OSQLBackEndManager mng( m_path ); |
24 | m_list = mng.scan(); | 21 | m_list = mng.scan(); |