--- a/src/main.cc Tue Apr 29 00:15:56 2014 +0300 +++ b/src/main.cc Tue Apr 29 02:06:09 2014 +0300 @@ -41,7 +41,7 @@ const Vertex g_origin (0.0f, 0.0f, 0.0f); const Matrix g_identity ({1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}); -cfg (Bool, firststart, true); +CFGENTRY (Bool, firstStart, true); // ============================================================================= // @@ -72,10 +72,10 @@ // If this is the first start, get the user to configuration. Especially point // them to the profile tab, it's the most important form to fill in. - if (firststart) + if (cfg::firstStart) { (new ConfigDialog (ConfigDialog::ProfileTab))->exec(); - firststart = false; + cfg::firstStart = false; Config::save(); }