X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.cpp;h=0e323bb48f6d53333dc89963d1902d8ec1f18da8;hp=0d5f4d41b4f541631f80b1751352c8191a6de00c;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=921e54680da16fcf2adb7a90506875aceb6633a4 diff --git a/src/client/coreaccountmodel.cpp b/src/client/coreaccountmodel.cpp index 0d5f4d41..0e323bb4 100644 --- a/src/client/coreaccountmodel.cpp +++ b/src/client/coreaccountmodel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -155,6 +155,12 @@ bool CoreAccountModel::operator==(const CoreAccountModel &other) const } +bool CoreAccountModel::operator!=(const CoreAccountModel &other) const +{ + return !(*this == other); +} + + // TODO with Qt 4.6, use QAbstractItemModel move semantics to properly do this AccountId CoreAccountModel::createOrUpdateAccount(const CoreAccount &newAcc) {