examples: port qpa examples to new connection style
Task-number: QTBUG-106893 Change-Id: Icf9a40403029c6973167f468f51b2dbdc365a848 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
d9dd875301
commit
cf6522e5d7
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user