summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-22 16:57:17 (UTC)
committer zecke <zecke>2002-04-22 16:57:17 (UTC)
commitcca7f8ae4f60ae9b6c704d200ab015233abdd4d7 (patch) (side-by-side diff)
treec472d8d52bb27811f6400cb35a61f84e2387df71
parented0b3a5518e741c0991c659b6b9ec9984e1ff2a6 (diff)
downloadopie-cca7f8ae4f60ae9b6c704d200ab015233abdd4d7.zip
opie-cca7f8ae4f60ae9b6c704d200ab015233abdd4d7.tar.gz
opie-cca7f8ae4f60ae9b6c704d200ab015233abdd4d7.tar.bz2
First fix for not finding files anymore.
I'm going to the movies and then I'll fix the launcher case....
Diffstat (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 5a28595..4f1cc38 100644
--- a/library/global.cpp
+++ b/library/global.cpp
@@ -56,19 +56,19 @@ namespace {
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" ) ){
- return true;
- }else if( (*it).startsWith("autocheck = 1" ) ){
return false;
+ }else if( (*it).startsWith("autocheck = 1" ) ){
+ return true;
}
}
return true;
}
}
//#include "quickexec_p.h"