From 36743995add34474fa2db3be8e7b37168232ac70 Mon Sep 17 00:00:00 2001 From: Daniel Albers Date: Sun, 5 Feb 2012 16:58:57 +0100 Subject: [PATCH] --typos --- src/common/types.h | 16 ++++++++-------- src/core/coresession.cpp | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/common/types.h b/src/common/types.h index fc46881e..4e98b418 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -60,32 +60,32 @@ inline QDebug operator<<(QDebug dbg, const SignedId &signedId) { dbg.space() << inline uint qHash(const SignedId &id) { return qHash(id.toInt()); } struct UserId : public SignedId { - inline UserId(int _id = 0) : SignedId(_id) {}; + inline UserId(int _id = 0) : SignedId(_id) {} //inline operator QVariant() const { return QVariant::fromValue(*this); } // no automatic conversion! }; struct MsgId : public SignedId { - inline MsgId(int _id = 0) : SignedId(_id) {}; + inline MsgId(int _id = 0) : SignedId(_id) {} //inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct BufferId : public SignedId { - inline BufferId(int _id = 0) : SignedId(_id) {}; + inline BufferId(int _id = 0) : SignedId(_id) {} //inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct NetworkId : public SignedId { - inline NetworkId(int _id = 0) : SignedId(_id) {}; + inline NetworkId(int _id = 0) : SignedId(_id) {} //inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct IdentityId : public SignedId { - inline IdentityId(int _id = 0) : SignedId(_id) {}; + inline IdentityId(int _id = 0) : SignedId(_id) {} //inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct AccountId : public SignedId { - inline AccountId(int _id = 0) : SignedId(_id) {}; + inline AccountId(int _id = 0) : SignedId(_id) {} }; Q_DECLARE_METATYPE(UserId) @@ -101,8 +101,8 @@ typedef QList BufferIdList; //! Base class for exceptions. struct Exception { - Exception(QString msg = "Unknown Exception") : _msg(msg) {}; - virtual ~Exception() {}; // make gcc happy + Exception(QString msg = "Unknown Exception") : _msg(msg) {} + virtual ~Exception() {} // make gcc happy virtual inline QString msg() { return _msg; } protected: diff --git a/src/core/coresession.cpp b/src/core/coresession.cpp index 1e543e7d..603d291f 100644 --- a/src/core/coresession.cpp +++ b/src/core/coresession.cpp @@ -405,7 +405,7 @@ void CoreSession::createIdentity(const Identity &identity, const QVariantMap &ad void CoreSession::createIdentity(const CoreIdentity &identity) { CoreIdentity *coreIdentity = new CoreIdentity(identity, this); _identities[identity.id()] = coreIdentity; - // CoreIdentity has it's own synchronize method since it's "private" sslManager needs to be synced aswell + // CoreIdentity has its own synchronize method since its "private" sslManager needs to be synced as well coreIdentity->synchronize(signalProxy()); connect(coreIdentity, SIGNAL(updated()), this, SLOT(updateIdentityBySender())); emit identityCreated(*coreIdentity); -- 2.20.1