--typos
authorDaniel Albers <daniel@lbe.rs>
Sun, 5 Feb 2012 15:58:57 +0000 (16:58 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 13 Feb 2012 19:35:38 +0000 (20:35 +0100)
src/common/types.h
src/core/coresession.cpp

index fc46881..4e98b41 100644 (file)
@@ -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<UserId>(*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<MsgId>(*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<BufferId>(*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<NetworkId>(*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<IdentityId>(*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<BufferId> 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:
index 1e543e7..603d291 100644 (file)
@@ -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);