Prefer function pointer to slot string

This commit is contained in:
Aleix Pol 2020-11-07 02:56:44 +01:00
parent cb7a3ec832
commit d0939dee8b

View file

@ -98,7 +98,7 @@ bool DpmsInputEventFilter::touchMotion(qint32 id, const QPointF &pos, quint32 ti
void DpmsInputEventFilter::notify()
{
// queued to not modify the list of event filters while filtering
QMetaObject::invokeMethod(m_backend, "turnOutputsOn", Qt::QueuedConnection);
QMetaObject::invokeMethod(m_backend, &DrmBackend::turnOutputsOn, Qt::QueuedConnection);
}
}