X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebugmessagemodelfilter.cpp;h=292ab48b2530797f58854b9397fe92675e68eaa8;hp=405f43be807dbc9271614f14714444fa1d6f31b3;hb=ee8b9f55860e340c1600188fddcfd557c7489f66;hpb=b65b9f7615165e8700a44d59b7275a55558dd45b diff --git a/src/qtui/debugmessagemodelfilter.cpp b/src/qtui/debugmessagemodelfilter.cpp index 405f43be..292ab48b 100644 --- a/src/qtui/debugmessagemodelfilter.cpp +++ b/src/qtui/debugmessagemodelfilter.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 * @@ -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(); }