From f1be509d133009b787e42e6949c4ae33da24203e Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 29 May 2023 17:20:02 +0200 Subject: [PATCH] Fix loading --- src/controller.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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