Use HTML to ensure line break

pull/1170/head
Jon Beniston 2022-03-01 17:25:56 +00:00
rodzic bcff46a826
commit 652ecc91e4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -511,7 +511,7 @@ QVariant MapModel::data(const QModelIndex &index, int role) const
if (row == m_target)
{
AzEl *azEl = m_gui->getAzEl();
QString text = QString("%1\nAz: %2%5 El: %3%5 Dist: %4 km")
QString text = QString("%1<br>Az: %2%5 El: %3%5 Dist: %4 km")
.arg(m_selected[row] ? m_items[row]->m_text : m_items[row]->m_name)
.arg(std::round(azEl->getAzimuth()))
.arg(std::round(azEl->getElevation()))