mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Geo taxonomy: adjust the preferences to the new data structures
This allows us to pick which three categories of geo taxonomy will be shown in the UI. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f7b7d4c2df
commit
a413141b33
4 changed files with 22 additions and 16 deletions
|
@ -99,6 +99,8 @@ GeoReferencingOptionsModel *GeoReferencingOptionsModel::instance() {
|
|||
GeoReferencingOptionsModel::GeoReferencingOptionsModel(QObject *parent) : QStringListModel(parent)
|
||||
{
|
||||
QStringList list;
|
||||
list << "Country" << "State" << "District" << "Town" << "Suburb" << "Body of Water" << "Site Name";
|
||||
int i;
|
||||
for (i = 0; i < NR_CATEGORIES; i++)
|
||||
list << taxonomy_category_names[i];
|
||||
setStringList(list);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue