summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-02 00:43:38 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-08 22:32:07 +0200
commite85a1d4aeb464f155cf026d33cab120f07724e70 (patch)
tree0ed576de75efe52914f1e3d30bb27db950dc91ca /src
parentMake Nheko compile on Qt6 (diff)
downloadnheko-e85a1d4aeb464f155cf026d33cab120f07724e70.tar.xz
First runnable qt6 Nheko
Diffstat (limited to 'src')
-rw-r--r--src/LoginPage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp
index 8d6a69cf..55487502 100644
--- a/src/LoginPage.cpp
+++ b/src/LoginPage.cpp
@@ -25,6 +25,8 @@ LoginPage::LoginPage(QObject *parent)
   : QObject(parent)
   , inferredServerAddress_()
 {
+    [[maybe_unused]] static auto ignored = qRegisterMetaType<mtx::responses::Login>();
+
     connect(this, &LoginPage::versionOkCb, this, &LoginPage::versionOk, Qt::QueuedConnection);
     connect(this, &LoginPage::versionErrorCb, this, &LoginPage::versionError, Qt::QueuedConnection);
     connect(