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
path: root/qt
diff options
context:
space:
mode:
authorArsentiy Milchakov <milcars@mapswithme.com>2018-09-20 15:11:06 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2018-09-25 11:56:55 +0300
commit5d9fb552e1cc821a25369e1c960c5597fbbf93b5 (patch)
tree3b66c6261373ea80493fd2898e1189605b12e4d9 /qt
parent0a254cf68ae046596dc19b41e377fa29f9b265af (diff)
[types_strings][bookmarks] bookmarks localization logic is moved to platforms
Diffstat (limited to 'qt')
-rw-r--r--qt/create_feature_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt/create_feature_dialog.cpp b/qt/create_feature_dialog.cpp
index 7244d85afc..8d5d67780d 100644
--- a/qt/create_feature_dialog.cpp
+++ b/qt/create_feature_dialog.cpp
@@ -16,10 +16,10 @@ CreateFeatureDialog::CreateFeatureDialog(QWidget * parent, osm::NewFeatureCatego
QListWidget * allSortedList = new QListWidget();
- auto const & categories = cats.GetAllCategoryNames();
- for (auto const & entry : categories)
+ auto const & typeNames = cats.GetAllCreatableTypeNames();
+ for (auto const & name : typeNames)
{
- new QListWidgetItem(entry.c_str() /* name */, allSortedList);
+ new QListWidgetItem(name.c_str() /* name */, allSortedList);
}
connect(allSortedList, SIGNAL(clicked(QModelIndex const &)), this,
SLOT(OnListItemSelected(QModelIndex const &)));