StelModuleMgr.cpp   StelModuleMgr.cpp 
skipping to change at line 272 skipping to change at line 272
mDesc.pluginInterface = pluginInterface; mDesc.pluginInterface = pluginInterface;
pluginDescriptorList.insert(mDesc.info.id, mDesc); pluginDescriptorList.insert(mDesc.info.id, mDesc);
} }
} }
// Load for each plugin if it should be loaded at startup // Load for each plugin if it should be loaded at startup
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
for (QMap<QString, StelModuleMgr::PluginDescriptor>::Iterator iter=p luginDescriptorList.begin();iter!=pluginDescriptorList.end();++iter) for (QMap<QString, StelModuleMgr::PluginDescriptor>::Iterator iter=p luginDescriptorList.begin();iter!=pluginDescriptorList.end();++iter)
{ {
if (!conf->contains("plugins_load_at_startup/"+iter.key())) if (!conf->contains("plugins_load_at_startup/"+iter.key()))
conf->setValue("plugins_load_at_startup/"+iter.key() , false); conf->setValue("plugins_load_at_startup/"+iter.key() , iter.value().info.startByDefault);
iter->loadAtStartup = conf->value("plugins_load_at_startup/" +iter.key()).toBool(); iter->loadAtStartup = conf->value("plugins_load_at_startup/" +iter.key()).toBool();
} }
pluginDescriptorListLoaded = true; pluginDescriptorListLoaded = true;
return pluginDescriptorList.values(); return pluginDescriptorList.values();
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/