forked from organicmaps/organicmaps
small fixes.
This commit is contained in:
parent
374e518dae
commit
31ccdf1efb
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue