add comma in widget for desktop

This commit is contained in:
Mikhail Gorbushin 2018-08-28 16:21:42 +03:00 committed by Tatiana Yan
parent 514423cabd
commit 3458396c26

View file

@ -29,7 +29,7 @@ PlacePageDialog::PlacePageDialog(QWidget * parent, place_page::Info const & info
grid->addWidget(new QLabel("lat lon"), row, 0);
ms::LatLon const ll = info.GetLatLon();
string const llstr =
strings::to_string_dac(ll.lat, 7) + " " + strings::to_string_dac(ll.lon, 7);
strings::to_string_dac(ll.lat, 7) + ", " + strings::to_string_dac(ll.lon, 7);
QLabel * label = new QLabel(llstr.c_str());
label->setTextInteractionFlags(Qt::TextSelectableByMouse);
grid->addWidget(label, row++, 1);