diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2022-10-25 23:24:59 +0200 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2022-12-21 21:52:17 +0100 |
commit | cf6522e5d7fad2be4759f2c3a5bb4a04929db81c (patch) | |
tree | e7a7369260599f843a85e36196b297a9fb0c5c01 /examples/qpa | |
parent | d9dd87530149bbc8281af6bf21768c37117f549e (diff) | |
download | qtbase-cf6522e5d7fad2be4759f2c3a5bb4a04929db81c.tar.gz |
examples: port qpa examples to new connection style
Task-number: QTBUG-106893
Change-Id: Icf9a40403029c6973167f468f51b2dbdc365a848
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/qpa')
-rw-r--r-- | examples/qpa/qrasterwindow/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qpa/qrasterwindow/main.cpp b/examples/qpa/qrasterwindow/main.cpp index b991a04248..9c245bf8a1 100644 --- a/examples/qpa/qrasterwindow/main.cpp +++ b/examples/qpa/qrasterwindow/main.cpp @@ -32,7 +32,7 @@ public: QVector3D(0,0,0), QVector3D(0,1,0)); m_timer.setInterval(16); - connect(&m_timer, SIGNAL(timeout()), this, SLOT(update())); + connect(&m_timer, &QTimer::timeout, this, qOverload<>(&PaintedWindow::update)); m_timer.start(); } |