diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-06-03 23:53:32 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:21 +0300 |
commit | a8c028aede9bec8376370b0d146a46d0c332d8f5 (patch) | |
tree | 6547c366fdbb6b1f721b77841b5ccd3565ff0322 /map/country_status_display.hpp | |
parent | ddbf18e65088c709c31e6cd82b72c777627a1d60 (diff) |
fixed bug with creating HttpThread from non-activity thread upon "Download Country" click.
Diffstat (limited to 'map/country_status_display.hpp')
-rw-r--r-- | map/country_status_display.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/map/country_status_display.hpp b/map/country_status_display.hpp index 05db5db664..4f874e4f85 100644 --- a/map/country_status_display.hpp +++ b/map/country_status_display.hpp @@ -44,9 +44,6 @@ private: /// caching resources for fast rendering. void cache(); - /// callback for button click to download country - void DownloadCountry(); - public: struct Params : public gui::Element::Params @@ -57,6 +54,10 @@ public: CountryStatusDisplay(Params const & p); ~CountryStatusDisplay(); + /// start country download + void downloadCountry(); + /// set download button listener + void setDownloadListener(gui::Button::TOnClickListener const & l); /// set current country name void setCountryName(string const & name); /// reposition element |