src/demo.cpp

changeset 23
3ce91eac0f24
parent 22
2fe0b7e0da7b
child 24
61e2752dd7cd
equal deleted inserted replaced
22:2fe0b7e0da7b 23:3ce91eac0f24
218 error (fmt (tr ("Incomplete demo header in '%s'!"), path)); 218 error (fmt (tr ("Incomplete demo header in '%s'!"), path));
219 return 3; 219 return 3;
220 } 220 }
221 221
222 if (!isKnownVersion (zanversion)) { 222 if (!isKnownVersion (zanversion)) {
223 UnknownVersionPrompt* prompt = new UnknownVersionPrompt (path, zanversion, (buildID == 1)); 223 UnknownVersionPrompt* prompt = new UnknownVersionPrompt (path, zanversion,
224 (buildID == ReleaseBuild));
225
224 if (!prompt->exec()) 226 if (!prompt->exec())
225 return 6; 227 return 6;
226 228
227 if (!isKnownVersion (zanversion)) { 229 if (!isKnownVersion (zanversion)) {
228 error (tr ("Failure in configuration! This shouldn't happen.")); 230 error (tr ("Failure in configuration! This shouldn't happen."));

mercurial