42 // ----------------------------------------------------------------------------- |
42 // ----------------------------------------------------------------------------- |
43 void addVersion (str name, bool isRelease, str binaryPath) { |
43 void addVersion (str name, bool isRelease, str binaryPath) { |
44 cfg::binaryPaths[name] = binaryPath; |
44 cfg::binaryPaths[name] = binaryPath; |
45 |
45 |
46 if (isRelease) |
46 if (isRelease) |
47 cfg::releaseNames << var (name); |
47 cfg::releaseNames << QVariant (name); |
48 else |
48 else |
49 cfg::devBuildNames << var (name); |
49 cfg::devBuildNames << QVariant (name); |
50 |
50 |
51 cfg::save(); |
51 cfg::save(); |
52 } |
52 } |
53 |
53 |
54 // ============================================================================= |
54 // ============================================================================= |