-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,4 +1 @@ - -#include <stdlib.h> - #include "osqlmanager.h" @@ -7,2 +4,4 @@ + + namespace Opie { @@ -15,3 +14,2 @@ OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { QString opie = QString::fromLatin1( getenv("OPIEDIR") ); - QString qpe = QString::fromLatin1( getenv("QPEDIR") ); @@ -19,4 +17,3 @@ OSQLBackEnd::ValueList OSQLManager::queryBackEnd() { m_path << opie; - if ( !m_path.contains(qpe) && !qpe.isEmpty() ) - m_path << qpe; + |