mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
Removed dead code from ImHistoryBrowser::fillItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8597 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8691a911aa
commit
409db56a59
1 changed files with 0 additions and 2 deletions
|
@ -41,7 +41,6 @@
|
||||||
|
|
||||||
#define ROLE_MSGID Qt::UserRole
|
#define ROLE_MSGID Qt::UserRole
|
||||||
#define ROLE_PLAINTEXT Qt::UserRole + 1
|
#define ROLE_PLAINTEXT Qt::UserRole + 1
|
||||||
#define ROLE_OFFLINE Qt::UserRole + 2
|
|
||||||
|
|
||||||
ImHistoryBrowserCreateItemsThread::ImHistoryBrowserCreateItemsThread(ImHistoryBrowser *parent, const ChatId& peerId)
|
ImHistoryBrowserCreateItemsThread::ImHistoryBrowserCreateItemsThread(ImHistoryBrowser *parent, const ChatId& peerId)
|
||||||
: QThread(parent)
|
: QThread(parent)
|
||||||
|
@ -277,7 +276,6 @@ void ImHistoryBrowser::fillItem(QListWidgetItem *itemWidget, HistoryMsg& msg)
|
||||||
|
|
||||||
itemWidget->setData(Qt::DisplayRole, qVariantFromValue(IMHistoryItemPainter(formatMsg)));
|
itemWidget->setData(Qt::DisplayRole, qVariantFromValue(IMHistoryItemPainter(formatMsg)));
|
||||||
itemWidget->setData(ROLE_MSGID, msg.msgId);
|
itemWidget->setData(ROLE_MSGID, msg.msgId);
|
||||||
itemWidget->setData(ROLE_OFFLINE, (type == ChatStyle::FORMATMSG_OOUTGOING) ? true : false);
|
|
||||||
|
|
||||||
/* calculate plain text */
|
/* calculate plain text */
|
||||||
QTextDocument doc;
|
QTextDocument doc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue