#include "clientidentity.h"
#include "clientignorelistmanager.h"
#include "clientuserinputhandler.h"
+#include "coreaccountmodel.h"
#include "ircchannel.h"
#include "ircuser.h"
#include "message.h"
_ignoreListManager(0),
_messageModel(0),
_messageProcessor(0),
+ _coreAccountModel(new CoreAccountModel(this)),
_connectedToCore(false),
_syncedToCore(false),
_internalCore(false),
_messageModel = mainUi()->createMessageModel(this);
_messageProcessor = mainUi()->createMessageProcessor(this);
_inputHandler = new ClientUserInputHandler(this);
+ _coreAccountModel->load();
SignalProxy *p = signalProxy();
return _currentCoreAccount;
}
-void Client::setCurrentCoreAccount(AccountId id) {
+void Client::setCurrentCoreAccount(const AccountId &id) {
_currentCoreAccount = id;
}