mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix linting
This commit is contained in:
parent
da6b3eb8f4
commit
a2da4b6df3
1 changed files with 1 additions and 2 deletions
|
@ -114,8 +114,7 @@ rooms()
|
||||||
{
|
{
|
||||||
if (QDBusInterface interface{QStringLiteral(NHEKO_DBUS_SERVICE_NAME), QStringLiteral("/")};
|
if (QDBusInterface interface{QStringLiteral(NHEKO_DBUS_SERVICE_NAME), QStringLiteral("/")};
|
||||||
interface.isValid())
|
interface.isValid())
|
||||||
return QDBusReply<QVector<RoomInfoItem>>{interface.call(QStringLiteral("rooms"))}
|
return QDBusReply<QVector<RoomInfoItem>>{interface.call(QStringLiteral("rooms"))}.value();
|
||||||
.value();
|
|
||||||
else
|
else
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue