--- a/src/file.cpp Tue Aug 20 21:23:56 2013 +0300 +++ b/src/file.cpp Wed Aug 21 01:13:52 2013 +0300 @@ -33,7 +33,7 @@ #include "build/moc_file.cpp" cfg (String, io_ldpath, ""); -cfg (String, io_recentfiles, ""); +cfg (List, io_recentfiles, {}); extern_cfg (String, net_downloadpath); extern_cfg (Bool, gl_logostuds); @@ -473,7 +473,7 @@ // ============================================================================= // ----------------------------------------------------------------------------- void addRecentFile (str path) { - QStringList rfiles = io_recentfiles.value.split ('@'); + alias rfiles = io_recentfiles.value; int idx = rfiles.indexOf (path); // If this file already is in the list, pop it out. @@ -492,9 +492,6 @@ // Add the file rfiles << path; - // Rebuild the config string - io_recentfiles = rfiles.join ("@"); - Config::save(); g_win->updateRecentFilesMenu(); }