mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix some compiler errors
This commit is contained in:
parent
41ff0096ff
commit
8a9e6ccf3e
1 changed files with 9 additions and 10 deletions
|
@ -420,8 +420,7 @@ ScreenCastPortal::start()
|
|||
|
||||
QDBusPendingCall pendingCall = QDBusConnection::sessionBus().asyncCall(msg);
|
||||
QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingCall, this);
|
||||
connect(
|
||||
watcher, &QDBusPendingCallWatcher::finished, this, [this](QDBusPendingCallWatcher *self) {
|
||||
connect(watcher, &QDBusPendingCallWatcher::finished, this, [](QDBusPendingCallWatcher *self) {
|
||||
self->deleteLater();
|
||||
QDBusPendingReply<QDBusObjectPath> reply = *self;
|
||||
|
||||
|
@ -502,7 +501,7 @@ ScreenCastPortal::openPipeWireRemote()
|
|||
reply.error().message().toStdString());
|
||||
close();
|
||||
} else {
|
||||
stream.fd = std::move(reply.value());
|
||||
stream.fd = reply.value();
|
||||
nhlog::ui()->error("org.freedesktop.portal.ScreenCast: fd = {}",
|
||||
stream.fd.fileDescriptor());
|
||||
state = State::Started;
|
||||
|
|
Loading…
Reference in a new issue