-rw-r--r-- | library/global.cpp | 4 |
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 @@ -60,11 +60,11 @@ namespace { 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; } |