From bf88efae082eaf960a0a7f84a5afd3752b1428cb Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Sat, 7 Dec 2013 14:11:54 +0200 Subject: Fix profile legend strings Use proper case and subscripts for gas names on profile legend. Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/profilegraphics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp index a1085ab76..176225aa8 100644 --- a/qt-ui/profilegraphics.cpp +++ b/qt-ui/profilegraphics.cpp @@ -613,7 +613,7 @@ void ProfileGraphicsView::plot_pp_gas_profile() else from = QPointF(SCALEGC(entry->sec, entry->pn2)); } - createPPLegend(tr("Pn2"),getColor(PN2), legendPos); + createPPLegend(trUtf8("pN" UTF8_SUBSCRIPT_2),getColor(PN2), legendPos); } if (prefs.pp_graphs.phe) { @@ -639,7 +639,7 @@ void ProfileGraphicsView::plot_pp_gas_profile() else from = QPointF(SCALEGC(entry->sec, entry->phe)); } - createPPLegend(tr("PHE"),getColor(PHE), legendPos); + createPPLegend(trUtf8("pHe"),getColor(PHE), legendPos); } if (prefs.pp_graphs.po2) { c = getColor(PO2); @@ -663,7 +663,7 @@ void ProfileGraphicsView::plot_pp_gas_profile() else from = QPointF(SCALEGC(entry->sec, entry->po2)); } - createPPLegend(tr("PO2"),getColor(PO2), legendPos); + createPPLegend(trUtf8("pO" UTF8_SUBSCRIPT_2),getColor(PO2), legendPos); } } -- cgit v1.2.3-70-g09d2