| 175 | } |
| 176 | |
| 177 | int COperate::Save(QString szFile) |
| 178 | { |
| 179 | Q_ASSERT(!szFile.isEmpty()); |
| 180 | if(szFile.isEmpty()) |
| 181 | { |
| 182 | qCritical(log) << "The load file is empty"; |
| 183 | return -1; |
| 184 | } |
| 185 | qInfo(log) << "Save configure file:" << szFile; |
| 186 | QSettings set(szFile, QSettings::IniFormat); |
| 187 | return Save(set); |
| 188 | } |
| 189 | |
| 190 | int COperate::Initial() |
| 191 | { |
no test coverage detected