diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-07-21 16:20:38 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-07-22 22:16:19 +0000 |
commit | 1e2e356f0f4f9f7dd424bc69cff0dce956f528e5 (patch) | |
tree | 0f000a235afa8aac621dc785e8655a99d5dc0a42 /examples/qml/qmlextensionplugins/plugin.cpp | |
parent | bc7dff35723e8f2cf09660b94f7fba9e8478860f (diff) |
Port examples to new connection syntax.
Change-Id: I121c59ac0ad56acb4cd54b99ecd37567368385ce
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'examples/qml/qmlextensionplugins/plugin.cpp')
-rw-r--r-- | examples/qml/qmlextensionplugins/plugin.cpp | 2 |
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(); } } |