1 files changed, 1 insertions, 4 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 4159006e..ecb5ffd0 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -5,9 +5,9 @@
#include <QApplication>
#include <QMessageBox>
+#include <mtx/events/collections.hpp>
#include <mtx/requests.hpp>
#include <mtx/responses/login.hpp>
-#include <mtx/events/collections.hpp>
#include "AliasEditModel.h"
#include "BlurhashProvider.h"
@@ -132,8 +132,6 @@ MainWindow::MainWindow(QWindow *parent)
void
MainWindow::registerQmlTypes()
{
-
-
qmlRegisterUncreatableMetaObject(qml_mtx_events::staticMetaObject,
"im.nheko",
1,
@@ -253,7 +251,6 @@ MainWindow::registerQmlTypes()
qmlRegisterSingletonInstance("im.nheko", 1, 0, "Settings", userSettings_.data());
-
qmlRegisterUncreatableType<FilteredCommunitiesModel>(
"im.nheko",
1,
|