src/config.cpp

changeset 469
f2faed654633
parent 468
7b3159f1a9e2
child 471
fc58b67d445c
equal deleted inserted replaced
468:7b3159f1a9e2 469:f2faed654633
75 75
76 for (Config* cfg : g_configPointers) { 76 for (Config* cfg : g_configPointers) {
77 if (!cfg) 77 if (!cfg)
78 break; 78 break;
79 79
80 if (cfg->isDefault())
81 continue;
82
80 settings->setValue (cfg->name, cfg->toVariant()); 83 settings->setValue (cfg->name, cfg->toVariant());
81 } 84 }
82 85
83 settings->sync(); 86 settings->sync();
84 settings->deleteLater(); 87 settings->deleteLater();

mercurial