diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 16:38:15 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-10-31 18:47:58 +0100 |
commit | 7824c772346e13f26eb878ce6a945fbb707e2247 (patch) | |
tree | 373ac7850c6eb87c1b4da7a62ec24330277d18f0 /src/MainWindow.cpp | |
parent | Fix version code having too many segments (diff) | |
download | nheko-7824c772346e13f26eb878ce6a945fbb707e2247.tar.xz |
Cleanup headers a bit more
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 1a0b1e96..e25619cd 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -101,58 +101,6 @@ MainWindow::MainWindow(QWindow *parent) void MainWindow::registerQmlTypes() { - // qmlRegisterUncreatableType<DeviceVerificationFlow>( - // "im.nheko", - // 1, - // 0, - // "DeviceVerificationFlow", - // QStringLiteral("Can't create verification flow from QML!")); - // qmlRegisterUncreatableType<UserProfile>( - // "im.nheko", - // 1, - // 0, - // "UserProfileModel", - // QStringLiteral("UserProfile needs to be instantiated on the C++ side")); - // qmlRegisterUncreatableType<MemberList>( - // "im.nheko", - // 1, - // 0, - // "MemberList", - // QStringLiteral("MemberList needs to be instantiated on the C++ side")); - // qmlRegisterUncreatableType<RoomSettings>( - // "im.nheko", - // 1, - // 0, - // "RoomSettingsModel", - // QStringLiteral("Room Settings needs to be instantiated on the C++ side")); - // qmlRegisterUncreatableType<TimelineModel>( - // "im.nheko", 1, 0, "Room", QStringLiteral("Room needs to be instantiated on the C++ side")); - // qmlRegisterUncreatableType<ImagePackListModel>( - // "im.nheko", - // 1, - // 0, - // "ImagePackListModel", - // QStringLiteral("ImagePackListModel needs to be instantiated on the C++ side")); - // qmlRegisterUncreatableType<SingleImagePackModel>( - // "im.nheko", - // 1, - // 0, - // "SingleImagePackModel", - // QStringLiteral("SingleImagePackModel needs to be instantiated on the C++ side")); - // qmlRegisterUncreatableType<InviteesModel>( - // "im.nheko", - // 1, - // 0, - // "InviteesModel", - // QStringLiteral("InviteesModel needs to be instantiated on the C++ side")); - - // qmlRegisterUncreatableMetaObject(emoji::staticMetaObject, - // "im.nheko.EmojiModel", - // 1, - // 0, - // "EmojiCategory", - // QStringLiteral("Error: Only enums")); - imgProvider = new MxcImageProvider(); engine()->addImageProvider(QStringLiteral("MxcImage"), imgProvider); engine()->addImageProvider(QStringLiteral("colorimage"), new ColorImageProvider()); |