summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2023-03-01 11:41:40 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-03-01 14:24:47 +0000
commit4916378d90a4ac050cc0c97d54c1da60eee786e3 (patch)
treeb52327418e501f2ae259515dddf0e9f58eccfa78
parentf5284d97796c726bfaec3c77da3a3efa22a0c999 (diff)
Fix bugs introduced by string literal fix
Some text bugs were introduced in SHA 9c7c6e657ab848f5c252aa780a18e58ead3ee2f8 Change-Id: If95f312fa5fb026270ac4aa637561acec2958b00 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 84fad995f43b98b5bd982bd674eb41f6012a5b92) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/datavisualization/graphgallery/surfacegraph.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/datavisualization/graphgallery/surfacegraph.cpp b/examples/datavisualization/graphgallery/surfacegraph.cpp
index b7cc0425..86ff4145 100644
--- a/examples/datavisualization/graphgallery/surfacegraph.cpp
+++ b/examples/datavisualization/graphgallery/surfacegraph.cpp
@@ -50,7 +50,7 @@ bool SurfaceGraph::initialize()
QGroupBox *modelGroupBox = new QGroupBox(u"Model"_s);
QRadioButton *sqrtSinModelRB = new QRadioButton(m_surfaceWidget);
- sqrtSinModelRB->setText(u"_sqrt && Sin"_s);
+ sqrtSinModelRB->setText(u"Sqrt && Sin"_s);
sqrtSinModelRB->setChecked(false);
QRadioButton *heightMapModelRB = new QRadioButton(m_surfaceWidget);
@@ -175,11 +175,11 @@ bool SurfaceGraph::initialize()
QGroupBox *visualsGroupBox = new QGroupBox(u"Visuals"_s);
visualsGroupBox->setVisible(false);
- QCheckBox *checkboxVisualsSeeThrough = new QCheckBox(u"_see-Through"_s);
+ QCheckBox *checkboxVisualsSeeThrough = new QCheckBox(u"See-Through"_s);
QCheckBox *checkboxHighlightOil = new QCheckBox(u"Highlight Oil"_s);
- QCheckBox *checkboxShowShadows = new QCheckBox(u"_shadows"_s);
+ QCheckBox *checkboxShowShadows = new QCheckBox(u"Shadows"_s);
checkboxShowShadows->setChecked(true);
QVBoxLayout *visualVBox = new QVBoxLayout;
@@ -188,14 +188,14 @@ bool SurfaceGraph::initialize()
visualVBox->addWidget(checkboxShowShadows);
visualsGroupBox->setLayout(visualVBox);
- QLabel *labelSelection = new QLabel(u"_selection:"_s);
+ QLabel *labelSelection = new QLabel(u"Selection:"_s);
labelSelection->setVisible(false);
QLabel *labelSelectedItem = new QLabel(u"Nothing"_s);
labelSelectedItem->setVisible(false);
// Textured topography heightmap
- QCheckBox *enableTexture = new QCheckBox(u"_surface texture"_s);
+ QCheckBox *enableTexture = new QCheckBox(u"Surface texture"_s);
enableTexture->setVisible(false);
int height = 400;