summaryrefslogtreecommitdiff
path: root/library/global.cpp
authoralwin <alwin>2004-02-24 02:49:02 (UTC)
committer alwin <alwin>2004-02-24 02:49:02 (UTC)
commit7fd2bb984be7f227902374e1033d73780d6ffe3a (patch) (side-by-side diff)
tree4f952e10f5d4aced550810baf0b51328b7d99a9a /library/global.cpp
parentf196130d43642f2397ddadeed72e3ea062cda281 (diff)
downloadopie-7fd2bb984be7f227902374e1033d73780d6ffe3a.zip
opie-7fd2bb984be7f227902374e1033d73780d6ffe3a.tar.gz
opie-7fd2bb984be7f227902374e1033d73780d6ffe3a.tar.bz2
changed keyword "autocheck" to "check" in checkStorage()
Diffstat (limited to 'library/global.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/global.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/global.cpp b/library/global.cpp
index 6182de8..4aca08b 100644
--- a/library/global.cpp
+++ b/library/global.cpp
@@ -51,27 +51,27 @@
#include <qfile.h>
namespace {
// checks if the storage should be searched
bool checkStorage(const QString &path ){ // this is a small Config replacement cause config is too limited -zecke
QFile file(path );
if(!file.open(IO_ReadOnly ) )
return true;
QByteArray array = file.readAll();
QStringList list = QStringList::split('\n', QString( array ) );
for(QStringList::Iterator it = list.begin(); it != list.end(); ++it ){
- if( (*it).startsWith("autocheck = 0" ) ){
+ if( (*it).startsWith("check = 0" ) ){
return false;
- }else if( (*it).startsWith("autocheck = 1" ) ){
+ }else if( (*it).startsWith("check = 1" ) ){
return true;
}
}
return true;
}
}
//#include "quickexec_p.h"
class Emitter : public QObject {
Q_OBJECT
public: