_bufferViewManager = new BufferViewManager(signalProxy(), this);
connect(bufferViewManager(), SIGNAL(initDone()), this, SLOT(requestInitialBacklog()));
connect(bufferViewManager(), SIGNAL(initDone()), this, SLOT(createDefautBufferView()));
+
+ createDefaultIdentity();
+
_syncedToCore = true;
emit connected();
emit coreConnectionStateChanged(true);
}
}
+void Client::createDefaultIdentity() {
+ if(_identities.isEmpty()) {
+ Identity identity;
+ identity.setToDefaults();
+ identity.setIdentityName(tr("Default Identity"));
+ createIdentity(identity);
+ }
+}
+
void Client::setSecuredConnection() {
emit securedConnection();
}