diff options
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index d9a03346..a8cc66b7 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -41,7 +41,6 @@ #include "UsersModel.h" #include "Utils.h" #include "dock/Dock.h" -#include "emoji/EmojiModel.h" #include "emoji/Provider.h" #include "encryption/DeviceVerificationFlow.h" #include "encryption/SelfVerificationStatus.h" @@ -289,9 +288,6 @@ MainWindow::registerQmlTypes() "FilteredCommunitiesModel", QStringLiteral("Use Communities.filtered() to create a FilteredCommunitiesModel")); - qmlRegisterType<emoji::EmojiModel>("im.nheko.EmojiModel", 1, 0, "EmojiModel"); - qmlRegisterUncreatableType<emoji::Emoji>( - "im.nheko.EmojiModel", 1, 0, "Emoji", QStringLiteral("Used by emoji models")); qmlRegisterUncreatableType<MediaUpload>( "im.nheko", 1, 0, "MediaUpload", QStringLiteral("MediaUploads can not be created in Qml")); qmlRegisterUncreatableMetaObject(emoji::staticMetaObject, |