Skip to content

Commit ede5a9b

Browse files
committed
[scolv] Update type display for CityType enum
city.type() now returns a CityType enum wrapper (MAKEENUM) rather than std::string following the change in SeisComP/common#189.
1 parent f1846fe commit ede5a9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/gui-qt/scolv/mainframe.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ void MainFrame::updateCitiesTab(DataModel::Origin *origin) {
19901990
entries.push_back({
19911991
Math::Geo::deg2km(dist), az,
19921992
QString::fromStdString(city.name()),
1993-
QString::fromStdString(city.type()),
1993+
QString(city.type().toString()),
19941994
regionDisplay,
19951995
QString::fromStdString(city.country()),
19961996
city.population(),

0 commit comments

Comments
 (0)