|
|
|
@ -129,9 +129,9 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par |
|
|
|
|
|
|
|
|
|
static auto self = this; |
|
|
|
|
qmlRegisterSingletonType<MainWindow>( |
|
|
|
|
"im.nheko", 1, 0, "MainWindow", [](QQmlEngine *, QJSEngine *) -> QObject * { |
|
|
|
|
return MainWindow::instance(); |
|
|
|
|
}); |
|
|
|
|
"im.nheko", 1, 0, "MainWindow", [](QQmlEngine *, QJSEngine *) -> QObject * { |
|
|
|
|
return MainWindow::instance(); |
|
|
|
|
}); |
|
|
|
|
qmlRegisterSingletonType<TimelineViewManager>( |
|
|
|
|
"im.nheko", 1, 0, "TimelineManager", [](QQmlEngine *, QJSEngine *) -> QObject * { |
|
|
|
|
return self; |
|
|
|
|