From 47b822604d81a6c603ce6c9e868456c8ccc2e18d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 12 Feb 2022 19:27:51 +0100 Subject: Hidden events: Refactor slightly for reusability --- src/MainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/MainWindow.cpp') diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 83504d86..01a05891 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -44,6 +44,7 @@ #include "encryption/SelfVerificationStatus.h" #include "timeline/DelegateChooser.h" #include "timeline/TimelineViewManager.h" +#include "ui/HiddenEvents.h" #include "ui/MxcAnimatedImage.h" #include "ui/MxcMediaProxy.h" #include "ui/NhekoCursorShape.h" @@ -168,6 +169,7 @@ MainWindow::registerQmlTypes() qmlRegisterType("im.nheko", 1, 0, "RoomDirectoryModel"); qmlRegisterType("im.nheko", 1, 0, "Login"); qmlRegisterType("im.nheko", 1, 0, "Registration"); + qmlRegisterType("im.nheko", 1, 0, "HiddenEvents"); qmlRegisterUncreatableType( "im.nheko", 1, -- cgit 1.5.1