| 105 | |
| 106 | |
| 107 | bool INIFile::loadFile(QString fileName) |
| 108 | { |
| 109 | QFile file(fileName); |
| 110 | if (!file.open(QIODevice::ReadOnly)) |
| 111 | return false; |
| 112 | bool success = loadFile(file.readAll()); |
| 113 | file.close(); |
| 114 | return success; |
| 115 | } |
| 116 | |
| 117 | bool INIFile::loadFile(QByteArray file) |
| 118 | { |