summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiedb/osqlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiedb/osqlmanager.cpp b/libopie2/opiedb/osqlmanager.cpp
index c472f6b..276b800 100644
--- a/libopie2/opiedb/osqlmanager.cpp
+++ b/libopie2/opiedb/osqlmanager.cpp
@@ -1,29 +1,29 @@
1#include "osqlmanager.h" 1#include "osqlmanager.h"
2#include "osqlbackendmanager.h" 2#include "osqlbackendmanager.h"
3#include "osqlitedriver.h" 3#include "osqlitedriver.h"
4 4
5 5#include <stdlib.h>
6 6
7namespace Opie { 7namespace Opie {
8namespace DB { 8namespace DB {
9 9
10OSQLManager::OSQLManager() { 10OSQLManager::OSQLManager() {
11} 11}
12OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { 12OSQLBackEnd::ValueList OSQLManager::queryBackEnd() {
13 m_list.clear(); 13 m_list.clear();
14 QString opie = QString::fromLatin1( getenv("OPIEDIR") ); 14 QString opie = QString::fromLatin1( getenv("OPIEDIR") );
15 15
16 if ( !m_path.contains(opie) && !opie.isEmpty() ) 16 if ( !m_path.contains(opie) && !opie.isEmpty() )
17 m_path << opie; 17 m_path << opie;
18 18
19 19
20 OSQLBackEndManager mng( m_path ); 20 OSQLBackEndManager mng( m_path );
21 m_list = mng.scan(); 21 m_list = mng.scan();
22 m_list += builtIn(); 22 m_list += builtIn();
23 23
24 return m_list; 24 return m_list;
25} 25}
26/* 26/*
27 * loading dso's is currently not enabled due problems with QLibrary 27 * loading dso's is currently not enabled due problems with QLibrary
28 * beeing in libqpe and not libqte 28 * beeing in libqpe and not libqte
29 */ 29 */