summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
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(