/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel IRC Team *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
setWindowFlags(Qt::Sheet);
clientSyncer = new ClientSyncer(this);
- connect(this, SIGNAL(newClientSyncer(ClientSyncer *)), Client::instance(), SIGNAL(newClientSyncer(ClientSyncer *)));
- emit newClientSyncer(clientSyncer); // announce the new client syncer via the client.
+ Client::registerClientSyncer(clientSyncer);
+// connect(this, SIGNAL(newClientSyncer(ClientSyncer *)), Client::instance(), SIGNAL(newClientSyncer(ClientSyncer *)));
+// emit newClientSyncer(clientSyncer); // announce the new client syncer via the client.
wizard = 0;
}
void CoreConnectDlg::on_useInternalCore_clicked() {
- if(!_internalAccountId.isValid()) {
- _internalAccountId = findFreeAccountId();
- QVariantMap data;
- data["InternalAccount"] = true;
- CoreAccountSettings accountSettings;
- accountSettings.storeAccountData(_internalAccountId, data);
- }
- clientSyncer->useInternalCore(_internalAccountId);
+ clientSyncer->useInternalCore();
ui.loginButtonBox->setStandardButtons(QDialogButtonBox::Cancel);
}