X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebugmessagemodelfilter.cpp;h=292ab48b2530797f58854b9397fe92675e68eaa8;hp=179861efa563882b99e5e6292c5f54ccc3d75ae1;hb=00e1a9c29e792ba4d65dba21b7ba04131bcb13bc;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/qtui/debugmessagemodelfilter.cpp b/src/qtui/debugmessagemodelfilter.cpp index 179861ef..292ab48b 100644 --- a/src/qtui/debugmessagemodelfilter.cpp +++ b/src/qtui/debugmessagemodelfilter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 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 * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "debugmessagemodelfilter.h" @@ -55,5 +55,5 @@ QVariant DebugMessageModelFilter::data(const QModelIndex &index, int role) const return QVariant(); QModelIndex source_index = mapToSource(index); - return sourceModel()->data(source_index, MessageModel::MsgIdRole).value().toInt(); + return sourceModel()->data(source_index, MessageModel::MsgIdRole).value().toQint64(); }