aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-06-01 22:44:44 +0300
committerOrgad Shaneh <orgads@gmail.com>2016-06-07 12:33:48 +0000
commitdaf715d9cae1c297ea50587c9e40c0f24bd59a07 (patch)
treec2b34cea4e9b169e1aa2c2e26872e92374af1c7c /examples
parentddc360f424720799c26ce47d49f13929e00af2df (diff)
Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: Ibb13c517567b1b32bbda6d26225454d1b003934d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/collidingmice/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/collidingmice/main.cpp b/examples/collidingmice/main.cpp
index 2faa4d661..0abfc6899 100644
--- a/examples/collidingmice/main.cpp
+++ b/examples/collidingmice/main.cpp
@@ -77,7 +77,7 @@ int main(int argc, char **argv)
view.show();
QTimer timer;
- QObject::connect(&timer, SIGNAL(timeout()), &scene, SLOT(advance()));
+ QObject::connect(&timer, &QTimer::timeout, &scene, &QGraphicsScene::advance);
timer.start(1000 / 33);
return app.exec();