summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-02-12 18:52:47 +0000
committerGitHub <noreply@github.com>2022-02-12 18:52:47 +0000
commita930e3c804c56aeb4f8d336b19d4abcd699556d1 (patch)
tree73f06796cff7941b9f0e7ab2b2a9e59054da0afa /src/MainWindow.cpp
parentFix application name on Wayland in flatpak (diff)
parentHidden events: Refactor slightly for reusability (diff)
downloadnheko-a930e3c804c56aeb4f8d336b19d4abcd699556d1.tar.xz
Merge pull request #891 from tastytea/hidden-events-gui
Add GUI to change hidden events per room
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp2
1 files changed, 2 insertions, 0 deletions
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<RoomDirectoryModel>("im.nheko", 1, 0, "RoomDirectoryModel"); qmlRegisterType<LoginPage>("im.nheko", 1, 0, "Login"); qmlRegisterType<RegisterPage>("im.nheko", 1, 0, "Registration"); + qmlRegisterType<HiddenEvents>("im.nheko", 1, 0, "HiddenEvents"); qmlRegisterUncreatableType<DeviceVerificationFlow>( "im.nheko", 1,