/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
_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();
}