| 73 | } |
| 74 | |
| 75 | void CompositeStringSource::update() const |
| 76 | { |
| 77 | m_strings.clear(); |
| 78 | |
| 79 | for (const ref_ptr<AbstractStringSource>& source : m_sources) |
| 80 | { |
| 81 | for (const std::string & str : source->strings()) |
| 82 | { |
| 83 | m_strings.push_back(str); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | m_dirty = false; |
| 88 | } |
| 89 | |
| 90 | std::string CompositeStringSource::shortInfo() const |
| 91 | { |