Try to please the CI gods
This commit is contained in:
parent
08d5a84cbd
commit
e5fb9a25ea
@ -211,7 +211,7 @@ private:
|
|||||||
body[this->toClient][deviceId.toStdString()] = msg;
|
body[this->toClient][deviceId.toStdString()] = msg;
|
||||||
|
|
||||||
http::client()->send_to_device<T>(
|
http::client()->send_to_device<T>(
|
||||||
this->transaction_id, body, [this](mtx::http::RequestErr err) {
|
this->transaction_id, body, [](mtx::http::RequestErr err) {
|
||||||
if (err)
|
if (err)
|
||||||
nhlog::net()->warn(
|
nhlog::net()->warn(
|
||||||
"failed to send verification to_device message: {} {}",
|
"failed to send verification to_device message: {} {}",
|
||||||
|
@ -128,9 +128,11 @@ TimelineViewManager::TimelineViewManager(QSharedPointer<UserSettings> userSettin
|
|||||||
|
|
||||||
static auto self = this;
|
static auto self = this;
|
||||||
qmlRegisterSingletonType<TimelineViewManager>(
|
qmlRegisterSingletonType<TimelineViewManager>(
|
||||||
"im.nheko", 1, 0, "TimelineManager", [](QQmlEngine *, QJSEngine *) { return self; });
|
"im.nheko", 1, 0, "TimelineManager", [](QQmlEngine *, QJSEngine *) -> QObject * {
|
||||||
|
return self;
|
||||||
|
});
|
||||||
qmlRegisterSingletonType<UserSettings>(
|
qmlRegisterSingletonType<UserSettings>(
|
||||||
"im.nheko", 1, 0, "Settings", [](QQmlEngine *, QJSEngine *) {
|
"im.nheko", 1, 0, "Settings", [](QQmlEngine *, QJSEngine *) -> QObject * {
|
||||||
return self->settings.data();
|
return self->settings.data();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user