From 652ecc91e4939ca29d0698caf9944be6d2dd5090 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 1 Mar 2022 17:25:56 +0000 Subject: [PATCH] Use HTML to ensure line break --- plugins/feature/map/mapmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/feature/map/mapmodel.cpp b/plugins/feature/map/mapmodel.cpp index b0180ccc0..ebb1642fd 100644 --- a/plugins/feature/map/mapmodel.cpp +++ b/plugins/feature/map/mapmodel.cpp @@ -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
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()))