X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=ac0432f0a8cc58d989abf34da90af88cc28f184c;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hp=8ddacb910c2c1d8250af0b663941171b2554b2c5;hpb=db00831bca59a012242d1ad5fac52a20c6cd2956;p=quassel.git diff --git a/src/client/client.cpp b/src/client/client.cpp index 8ddacb91..ac0432f0 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -241,10 +241,8 @@ const Identity* Client::identity(IdentityId id) void Client::createIdentity(const CertIdentity& id) { QVariantMap additional; -#ifdef HAVE_SSL additional["KeyPem"] = id.sslKey().toPem(); additional["CertPem"] = id.sslCert().toPem(); -#endif emit instance()->requestCreateIdentity(id, additional); } @@ -604,7 +602,7 @@ void Client::purgeKnownBufferIds() void Client::bufferRemoved(BufferId bufferId) { // select a sane buffer (status buffer) - /* we have to manually select a buffer because otherwise inconsitent changes + /* we have to manually select a buffer because otherwise inconsistent changes * to the model might occur: * the result of a buffer removal triggers a change in the selection model. * the newly selected buffer might be a channel that hasn't been selected yet