Fix build with some compilers
If it's a QPointer the connect needs a .data()
This commit is contained in:
parent
43f6c1e041
commit
873b4ed717
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ void DrmOutput::init(drmModeConnector *connector)
|
|||
if (!m_dpms.isNull()) {
|
||||
m_waylandOutput->setDpmsSupported(true);
|
||||
m_waylandOutput->setDpmsMode(toWaylandDpmsMode(m_dpmsMode));
|
||||
connect(m_waylandOutput, &KWayland::Server::OutputInterface::dpmsModeRequested, this,
|
||||
connect(m_waylandOutput.data(), &KWayland::Server::OutputInterface::dpmsModeRequested, this,
|
||||
[this] (KWayland::Server::OutputInterface::DpmsMode mode) {
|
||||
setDpms(fromWaylandDpmsMode(mode));
|
||||
}, Qt::QueuedConnection
|
||||
|
|
Loading…
Reference in a new issue