mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
Fix set Un/read choice in PopupMenu on messsage dialog.
This commit is contained in:
parent
d833049dce
commit
4b0f187b30
@ -484,10 +484,9 @@ int MessagesDialog::getSelectedMsgCount (QList<QModelIndex> *items, QList<QModel
|
|||||||
items->append(m);
|
items->append(m);
|
||||||
|
|
||||||
if (m.data(RsMessageModel::UnreadRole).toBool())
|
if (m.data(RsMessageModel::UnreadRole).toBool())
|
||||||
if (itemsUnread)
|
{ if (itemsUnread) itemsUnread->append(m); }
|
||||||
itemsUnread->append(m);
|
else
|
||||||
else if(itemsRead)
|
{ if (itemsRead) itemsRead->append(m); }
|
||||||
itemsRead->append(m);
|
|
||||||
|
|
||||||
if (itemsStar && m.data(RsMessageModel::MsgFlagsRole).toInt() & RS_MSG_STAR)
|
if (itemsStar && m.data(RsMessageModel::MsgFlagsRole).toInt() & RS_MSG_STAR)
|
||||||
itemsStar->append(m);
|
itemsStar->append(m);
|
||||||
|
Loading…
Reference in New Issue
Block a user