summaryrefslogtreecommitdiff
Side-by-side diff
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 6182de8..4aca08b 100644
--- a/library/global.cpp
+++ b/library/global.cpp
@@ -57,15 +57,15 @@ namespace {
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;
}
}