StelSkyLayerMgr.cpp   StelSkyLayerMgr.cpp 
skipping to change at line 72 skipping to change at line 72
} }
// read from stream // read from stream
void StelSkyLayerMgr::init() void StelSkyLayerMgr::init()
{ {
QString path = StelFileMgr::findFile("nebulae/default/textures.json" ); QString path = StelFileMgr::findFile("nebulae/default/textures.json" );
if (path.isEmpty()) if (path.isEmpty())
qWarning() << "ERROR while loading nebula texture set defaul t"; qWarning() << "ERROR while loading nebula texture set defaul t";
else else
insertSkyImage(path); insertSkyImage(path);
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
conf->beginGroup("skylayers"); conf->beginGroup("skylayers");
foreach (const QString& key, conf->childKeys()) foreach (const QString& key, conf->childKeys())
{ {
QString uri = conf->value(key, "").toString(); QString uri = conf->value(key, "").toString();
if (!uri.isEmpty()) if (!uri.isEmpty())
{ {
if (key=="clilayer") if (key=="clilayer")
insertSkyImage(uri, "Command-line layer"); insertSkyImage(uri, "Command-line layer");
else else
 End of changes. 1 change blocks. 
0 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/