aboutsummaryrefslogtreecommitdiff
path: root/demos/widgetsgallery/checkboxpage.cpp
diff options
context:
space:
mode:
authorduisymbio <dui-team@fi.symbio.com>2010-08-24 14:23:49 +0300
committerSergiy Dubovik <sergiy.dubovik@nokia.com>2010-09-01 10:22:33 +0300
commit9ca53fe1321d7828089ed7fdcdea8555ef9eb260 (patch)
treeb931310adb4bacc810c5ce5e5f6de274fbcca886 /demos/widgetsgallery/checkboxpage.cpp
parent62ad57fff81ded06d88941cf2d8915127a5d044a (diff)
Fixes: NB#182384 MLabel doesn't render rich text correctly
Details: Conversion of '\n' to <br> in rich label removed
Diffstat (limited to 'demos/widgetsgallery/checkboxpage.cpp')
-rw-r--r--demos/widgetsgallery/checkboxpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/widgetsgallery/checkboxpage.cpp b/demos/widgetsgallery/checkboxpage.cpp
index 90a4dfc2..135a947e 100644
--- a/demos/widgetsgallery/checkboxpage.cpp
+++ b/demos/widgetsgallery/checkboxpage.cpp
@@ -84,7 +84,7 @@ void CheckboxPage::retranslateUi()
//% "values, On and Off.\n\nCheckbox essentially does the "
//% "same thing as the Switch button, so please consider "
//% "using a Switch instead."
- infoLabel->setText("<a></a>" + qtTrId("xx_checkbox_page_info_label"));
+ infoLabel->setText("<a></a>" + qtTrId("xx_checkbox_page_info_label").replace('\n', "<br>"));
//% "I have read and understood the instructions."
checkboxLabel->setText("<a></a>" + qtTrId("xx_checkbox_page_checkbox_label"));