summaryrefslogtreecommitdiffstats
path: root/examples/widgets/spinboxes/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/spinboxes/window.cpp')
-rw-r--r--examples/widgets/spinboxes/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/spinboxes/window.cpp b/examples/widgets/spinboxes/window.cpp
index 19f6d26..3a75fd3 100644
--- a/examples/widgets/spinboxes/window.cpp
+++ b/examples/widgets/spinboxes/window.cpp
@@ -144,8 +144,8 @@ void Window::createDateTimeEdits()
formatComboBox->addItem("hh:mm ap");
//! [9] //! [10]
- connect(formatComboBox, SIGNAL(activated(const QString &)),
- this, SLOT(setFormatString(const QString &)));
+ connect(formatComboBox, SIGNAL(activated(QString)),
+ this, SLOT(setFormatString(QString)));
//! [10]
setFormatString(formatComboBox->currentText());