aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 6c9af57..f2687e0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -2,7 +2,7 @@
#include <QQmlApplicationEngine>
#include <QMetaType>
-#include "accounts_model.h"
+#include "accounts.h"
#include "message.h"
#include "chat.h"
#include "chatlist.h"
@@ -21,7 +21,7 @@ int main(int argc, char *argv[])
app.setOrganizationDomain("delta.chat");
// TODO: switch to using Qt 5.15 QML_ELEMENT macro
- if (qmlRegisterType<AccountsModel>("DeltaChat", 1, 0, "AccountsModel") == -1)
+ if (qmlRegisterType<DcAccounts>("DeltaChat", 1, 0, "DcAccounts") == -1)
{
QCoreApplication::exit(-1);
}