small fixes.

This commit is contained in:
rachytski 2012-06-05 12:30:39 +04:00 committed by Alex Zolotarev
parent 374e518dae
commit 31ccdf1efb
3 changed files with 3 additions and 3 deletions

View file

@ -471,7 +471,7 @@ void Framework::DrawAdditionalInfo(shared_ptr<PaintEvent> const & e)
bool isEmptyModel = m_renderPolicy->IsEmptyModel();
if (isEmptyModel)
m_informationDisplay.setEmptyCountryName(m_renderPolicy->GetCountryName().c_str());
m_informationDisplay.setEmptyCountryName(m_renderPolicy->GetCountryName());
m_informationDisplay.enableCountryStatusDisplay(isEmptyModel);

View file

@ -360,7 +360,7 @@ void InformationDisplay::enableCountryStatusDisplay(bool doEnable)
m_countryStatusDisplay->setIsVisible(doEnable);
}
void InformationDisplay::setEmptyCountryName(const char *country)
void InformationDisplay::setEmptyCountryName(string const & country)
{
m_countryStatusDisplay->setCountryName(country);
}

View file

@ -131,7 +131,7 @@ public:
void enableCountryStatusDisplay(bool doEnable);
void setDownloadListener(gui::Button::TOnClickListener l);
void setEmptyCountryName(char const * country);
void setEmptyCountryName(string const & country);
shared_ptr<CountryStatusDisplay> const & countryStatusDisplay() const;