wayland/drmlease: don't connect with nullptr parameter
This commit is contained in:
parent
2c0091aacf
commit
c2150988f2
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ void DrmLeaseV1Interface::grant(std::unique_ptr<KWin::DrmLease> &&lease)
|
|||
KWin::FileDescriptor tmp = std::move(lease->fd());
|
||||
send_lease_fd(tmp.get());
|
||||
m_lease = std::move(lease);
|
||||
connect(lease.get(), &KWin::DrmLease::revokeRequested, this, &DrmLeaseV1Interface::revoke);
|
||||
connect(m_lease.get(), &KWin::DrmLease::revokeRequested, this, &DrmLeaseV1Interface::revoke);
|
||||
for (const auto &connector : std::as_const(m_connectors)) {
|
||||
connector->withdraw();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue