ToastMgr.cpp   ToastMgr.cpp 
skipping to change at line 51 skipping to change at line 51
{ {
delete fader; delete fader;
fader = NULL; fader = NULL;
} }
void ToastMgr::init() void ToastMgr::init()
{ {
QSettings* conf = StelApp::getInstance().getSettings(); QSettings* conf = StelApp::getInstance().getSettings();
Q_ASSERT(conf); Q_ASSERT(conf);
// TODO: change settings before release (dss.astro.altspu.ru->dss.st QString toastHost = conf->value("astro/toast_survey_host", "http://d
ellarium.org) ss.stellarium.org").toString();
QString toastHost = conf->value("astro/toast_survey_host", "http://d
ss.astro.altspu.ru").toString();
QString toastDir = conf->value("astro/toast_survey_directory", "surv ey").toString(); QString toastDir = conf->value("astro/toast_survey_directory", "surv ey").toString();
int toastLevel = conf->value("astro/toast_survey_levels", 11).toInt( ); int toastLevel = conf->value("astro/toast_survey_levels", 11).toInt( );
survey = new ToastSurvey(toastHost+"/" + toastDir + "/{level}/{x}_{y }.jpg", toastLevel); survey = new ToastSurvey(toastHost+"/" + toastDir + "/{level}/{x}_{y }.jpg", toastLevel);
survey->setParent(this); survey->setParent(this);
// Hide deep-sky survey by default // Hide deep-sky survey by default
setFlagSurveyShow(conf->value("astro/flag_toast_survey", false).toBo ol()); setFlagSurveyShow(conf->value("astro/flag_toast_survey", false).toBo ol());
addAction("actionShow_Toast_Survey", N_("Display Options"), N_("Digi tized Sky Survey (experimental)"), "surveyDisplayed", "Ctrl+Alt+D"); addAction("actionShow_Toast_Survey", N_("Display Options"), N_("Digi tized Sky Survey (experimental)"), "surveyDisplayed", "Ctrl+Alt+D");
} }
 End of changes. 1 change blocks. 
4 lines changed or deleted 2 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/