From 96ae9794e88e509a6e231e39b3691fcb6d0cc068 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Thu, 19 Oct 2017 13:03:44 +0300 Subject: Fixed warnings --- qt/editor_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt') diff --git a/qt/editor_dialog.cpp b/qt/editor_dialog.cpp index 6f46261add..7545f8bbf1 100644 --- a/qt/editor_dialog.cpp +++ b/qt/editor_dialog.cpp @@ -98,7 +98,7 @@ EditorDialog::EditorDialog(QWidget * parent, osm::EditableMapObject & emo) street += " / " + nearbyStreets[i].m_localizedName; cmb->addItem(street.c_str()); if (emo.GetStreet() == nearbyStreets[i]) - cmb->setCurrentIndex(i); + cmb->setCurrentIndex(static_cast(i)); } cmb->setObjectName(kStreetObjectName); grid->addWidget(cmb, row++, 1); -- cgit v1.2.3