summaryrefslogtreecommitdiffstats
path: root/examples/bars/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bars/main.cpp')
-rw-r--r--examples/bars/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bars/main.cpp b/examples/bars/main.cpp
index 3bac58b2..7a74473b 100644
--- a/examples/bars/main.cpp
+++ b/examples/bars/main.cpp
@@ -201,7 +201,7 @@ int main(int argc, char **argv)
//! [6]
QObject::connect(labelButton, &QPushButton::clicked, modifier,
- &GraphModifier::changeLabelStyle);
+ &GraphModifier::changeLabelBackground);
QObject::connect(cameraButton, &QPushButton::clicked, modifier,
&GraphModifier::changePresetCamera);