diff --git a/src/controller.cpp b/src/controller.cpp index 3835e312b..bd9a22a18 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -258,7 +258,9 @@ void Controller::addConnection(Connection *c) { 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); #endif