X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fbuffertreemodel.cpp;h=d62d8045f98fbe3bde9b81276590d224e39e6975;hp=bc2bf0ad21c2bc1930093c4124a23ea2a9e21083;hb=4d8086fa41a49c3b2ba31484ce3c59416f5de294;hpb=90c454909ca9b86d096c18a011f6c10465a672e2 diff --git a/src/client/buffertreemodel.cpp b/src/client/buffertreemodel.cpp index bc2bf0ad..d62d8045 100644 --- a/src/client/buffertreemodel.cpp +++ b/src/client/buffertreemodel.cpp @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005-07 by The Quassel Team * + * Copyright (C) 2005-07 by the Quassel IRC Team * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -43,7 +43,7 @@ BufferTreeItem::BufferTreeItem(Buffer *buffer, TreeItem *parent) setFlags(flags); } -uint BufferTreeItem::id() const { +quint64 BufferTreeItem::id() const { return buf->bufferInfo().uid(); } @@ -122,7 +122,7 @@ QVariant NetworkTreeItem::data(int column, int role) const { } } -uint NetworkTreeItem::id() const { +quint64 NetworkTreeItem::id() const { return _networkId; } @@ -306,7 +306,6 @@ bool BufferTreeModel::dropMimeData(const QMimeData *data, Qt::DropAction action, void BufferTreeModel::bufferUpdated(Buffer *buffer) { QModelIndex itemindex = getOrCreateBufferItemIndex(buffer); - emit invalidateFilter(); emit dataChanged(itemindex, itemindex); }