Don't parent connections to controller/Login.
This prevents a crash upon destruction for newer libquotient versions
This commit is contained in:
@@ -36,7 +36,7 @@ void Login::init()
|
||||
m_testing = true;
|
||||
Q_EMIT testingChanged();
|
||||
if (!m_connection) {
|
||||
m_connection = new Connection(this);
|
||||
m_connection = new Connection();
|
||||
}
|
||||
m_connection->resolveServer(m_matrixId);
|
||||
connect(m_connection, &Connection::loginFlowsChanged, this, [=]() {
|
||||
|
||||
Reference in New Issue
Block a user