Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2013-01-24 19:54:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:49:17 +0300
commit28294358244c2767bf6b6d27ec58bddf67978179 (patch)
tree15feb3e4683806b371898e42eef33a5b3d82f966 /map/country_status_display.cpp
parent6e82dd2c0c748a8e7aa7212beb86fad4261df8b4 (diff)
calling purge on gui::Element's which are a parts of composite CountryStatusDisplay.
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r--map/country_status_display.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/map/country_status_display.cpp b/map/country_status_display.cpp
index f79edc0d34..ea61a524a4 100644
--- a/map/country_status_display.cpp
+++ b/map/country_status_display.cpp
@@ -45,6 +45,12 @@ void CountryStatusDisplay::SetStatusMessage(string const & msgID, T1 const * t1,
m_statusMsg->setText(msg);
}
+void CountryStatusDisplay::purge()
+{
+ m_downloadButton->purge();
+ m_statusMsg->purge();
+}
+
void CountryStatusDisplay::cache()
{
m_downloadButton->setIsVisible(false);