mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-11-30 20:36:36 -05:00
removed sorting sensitivity and some dead code
This commit is contained in:
parent
14d29a4490
commit
f355abe025
3 changed files with 14 additions and 10 deletions
|
|
@ -427,14 +427,14 @@ QVariant RsMessageModel::sortRole(const Rs::Msgs::MsgInfoSummary& fmpe,int colum
|
|||
case COLUMN_THREAD_DATE: return QVariant(QString::number(fmpe.ts)); // we should probably have leading zeroes here
|
||||
|
||||
case COLUMN_THREAD_READ: return QVariant((bool)IS_MESSAGE_UNREAD(fmpe.msgflags));
|
||||
case COLUMN_THREAD_AUTHOR:
|
||||
{
|
||||
QString str,comment ;
|
||||
QList<QIcon> icons;
|
||||
GxsIdDetails::MakeIdDesc(RsGxsId(fmpe.srcId), false, str, icons, comment,GxsIdDetails::ICON_TYPE_NONE);
|
||||
|
||||
return QVariant(str);
|
||||
}
|
||||
// case COLUMN_THREAD_AUTHOR:
|
||||
// {
|
||||
// QString str,comment ;
|
||||
// QList<QIcon> icons;
|
||||
// GxsIdDetails::MakeIdDesc(RsGxsId(fmpe.srcId), false, str, icons, comment,GxsIdDetails::ICON_TYPE_NONE);
|
||||
//
|
||||
// return QVariant(str);
|
||||
// }
|
||||
case COLUMN_THREAD_STAR: return QVariant((fmpe.msgflags & RS_MSG_STAR)? 1:0);
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue