aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/qmlextensionplugins/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/qmlextensionplugins/plugin.cpp')
-rw-r--r--examples/qml/qmlextensionplugins/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qml/qmlextensionplugins/plugin.cpp b/examples/qml/qmlextensionplugins/plugin.cpp
index 729c88da73..56057b7f06 100644
--- a/examples/qml/qmlextensionplugins/plugin.cpp
+++ b/examples/qml/qmlextensionplugins/plugin.cpp
@@ -110,7 +110,7 @@ public:
if (++instances == 1) {
if (!timer)
timer = new MinuteTimer(QCoreApplication::instance());
- connect(timer, SIGNAL(timeChanged()), this, SIGNAL(timeChanged()));
+ connect(timer, &MinuteTimer::timeChanged, this, &TimeModel::timeChanged);
timer->start();
}
}