mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert divesite strings to std::string
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
3916125786
commit
7d3977481a
38 changed files with 181 additions and 222 deletions
|
@ -140,7 +140,7 @@ static std::vector<QString> getWords(const dive *d)
|
|||
// TODO: We should tokenize all dive-sites and trips first and then
|
||||
// take the tokens from a cache.
|
||||
if (d->dive_site) {
|
||||
tokenize(d->dive_site->name, res);
|
||||
tokenize(QString::fromStdString(d->dive_site->name), res);
|
||||
std::string country = taxonomy_get_country(d->dive_site->taxonomy);
|
||||
if (!country.empty())
|
||||
tokenize(country.c_str(), res);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue