From cf6522e5d7fad2be4759f2c3a5bb4a04929db81c Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Tue, 25 Oct 2022 23:24:59 +0200 Subject: [PATCH] examples: port qpa examples to new connection style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-106893 Change-Id: Icf9a40403029c6973167f468f51b2dbdc365a848 Reviewed-by: Jörg Bornemann --- examples/qpa/qrasterwindow/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/qpa/qrasterwindow/main.cpp b/examples/qpa/qrasterwindow/main.cpp index b991a04248d..9c245bf8a10 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(); }