# HG changeset patch # User Teemu Piippo # Date 1378649930 -10800 # Node ID 3ce91eac0f245d4391d4f3cdfa841e07599acfe6 # Parent 2fe0b7e0da7b5fc880c68756693d32395656da72 actually use the BuildType enum diff -r 2fe0b7e0da7b -r 3ce91eac0f24 src/demo.cpp --- a/src/demo.cpp Sun Sep 08 17:17:13 2013 +0300 +++ b/src/demo.cpp Sun Sep 08 17:18:50 2013 +0300 @@ -220,7 +220,9 @@ } if (!isKnownVersion (zanversion)) { - UnknownVersionPrompt* prompt = new UnknownVersionPrompt (path, zanversion, (buildID == 1)); + UnknownVersionPrompt* prompt = new UnknownVersionPrompt (path, zanversion, + (buildID == ReleaseBuild)); + if (!prompt->exec()) return 6;