MeteorShowersMgr.cpp   MeteorShowersMgr.cpp 
skipping to change at line 126 skipping to change at line 126
// enable at startup? // enable at startup?
setEnablePlugin(getEnableAtStartup()); setEnablePlugin(getEnableAtStartup());
} }
void MeteorShowersMgr::deinit() void MeteorShowersMgr::deinit()
{ {
m_bolideTexture.clear(); m_bolideTexture.clear();
m_radiantTexture.clear(); m_radiantTexture.clear();
m_pointerTexture.clear(); m_pointerTexture.clear();
delete m_meteorShowers;
m_meteorShowers = NULL;
delete m_configDialog;
m_configDialog = NULL;
delete m_searchDialog;
m_searchDialog = NULL;
} }
double MeteorShowersMgr::getCallOrder(StelModuleActionName actionName) cons t double MeteorShowersMgr::getCallOrder(StelModuleActionName actionName) cons t
{ {
if (actionName == StelModule::ActionDraw) if (actionName == StelModule::ActionDraw)
{ {
return GETSTELMODULE(SporadicMeteorMgr)->getCallOrder(action Name) + 10.; return GETSTELMODULE(SporadicMeteorMgr)->getCallOrder(action Name) + 10.;
} }
return 0.; return 0.;
} }
skipping to change at line 289 skipping to change at line 295
} }
void MeteorShowersMgr::repaint() void MeteorShowersMgr::repaint()
{ {
update(1.0); update(1.0);
draw(StelApp::getInstance().getCore()); draw(StelApp::getInstance().getCore());
} }
void MeteorShowersMgr::checkForUpdates() void MeteorShowersMgr::checkForUpdates()
{ {
if (m_enableAutoUpdates && m_lastUpdate.addSecs(m_updateFrequencyHou rs * 3600.) <= QDateTime::currentDateTime()) if (m_enableAutoUpdates && m_lastUpdate.addSecs(m_updateFrequencyHou rs * 3600.) <= QDateTime::currentDateTime() && m_downloadMgr->networkAccess ible()==QNetworkAccessManager::Accessible)
{ {
updateCatalog(); updateCatalog();
} }
} }
void MeteorShowersMgr::updateCatalog() void MeteorShowersMgr::updateCatalog()
{ {
if (m_statusOfLastUpdate == UPDATING) if (m_statusOfLastUpdate == UPDATING)
{ {
qWarning() << "MeteorShowersMgr: The catalog is being update d already!"; qWarning() << "MeteorShowersMgr: The catalog is being update d already!";
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 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/