-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 { | |||
60 | QByteArray array = file.readAll(); | 60 | QByteArray array = file.readAll(); |
61 | QStringList list = QStringList::split('\n', QString( array ) ); | 61 | QStringList list = QStringList::split('\n', QString( array ) ); |
62 | for(QStringList::Iterator it = list.begin(); it != list.end(); ++it ){ | 62 | for(QStringList::Iterator it = list.begin(); it != list.end(); ++it ){ |
63 | if( (*it).startsWith("autocheck = 0" ) ){ | 63 | if( (*it).startsWith("autocheck = 0" ) ){ |
64 | return true; | ||
65 | }else if( (*it).startsWith("autocheck = 1" ) ){ | ||
66 | return false; | 64 | return false; |
65 | }else if( (*it).startsWith("autocheck = 1" ) ){ | ||
66 | return true; | ||
67 | } | 67 | } |
68 | } | 68 | } |
69 | return true; | 69 | return true; |
70 | } | 70 | } |