summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2023-03-01 11:41:40 +0200
committerTomi Korpipää <tomi.korpipaa@qt.io>2023-03-01 10:17:21 +0000
commit84fad995f43b98b5bd982bd674eb41f6012a5b92 (patch)
treeb713461cc1a97c5c395ffb569e2c23605cebc25d /examples
parenta4358dabd997e11f7bcd2e4a9437ffaff2a0d46c (diff)
Fix bugs introduced by string literal fix
Some text bugs were introduced in SHA 9c7c6e657ab848f5c252aa780a18e58ead3ee2f8 Pick-to: 6.5 Change-Id: If95f312fa5fb026270ac4aa637561acec2958b00 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples')
-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;