src/misc.cpp

changeset 21
99225eac33ba
parent 20
a5457405cc9b
child 25
256bb5c6b77f
equal deleted inserted replaced
20:a5457405cc9b 21:99225eac33ba
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 // =============================================================================

mercurial