Fix loading

This commit is contained in:
Tobias Fella
2023-05-29 17:20:02 +02:00
parent fed528c6d8
commit f1be509d13

View File

@@ -258,7 +258,9 @@ void Controller::addConnection(Connection *c)
{ {
Q_ASSERT_X(c, __FUNCTION__, "Attempt to add a null connection"); Q_ASSERT_X(c, __FUNCTION__, "Attempt to add a null connection");
#ifndef QUOTIENT_07 #ifdef QUOTIENT_07
Accounts.add(c);
#else
AccountRegistry::instance().add(c); AccountRegistry::instance().add(c);
#endif #endif