set TextAlignment for Attachments AlignCenter

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3171 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-19 18:06:04 +00:00
parent 0c185c04b8
commit 051ce984ed

View File

@ -1552,8 +1552,8 @@ void MessagesDialog::insertMessages()
std::ostringstream out;
out << it -> count;
item[COLUMN_ATTACHEMENTS] -> setText(QString::fromStdString(out.str()));
item[COLUMN_ATTACHEMENTS]->setData(item[COLUMN_ATTACHEMENTS]->text() + dateString, Qt::UserRole);
//item -> setTextAlignment( 0, Qt::AlignCenter );
item[COLUMN_ATTACHEMENTS] -> setData(item[COLUMN_ATTACHEMENTS]->text() + dateString, Qt::UserRole);
item[COLUMN_ATTACHEMENTS] -> setTextAlignment(Qt::AlignHCenter);
}
if (nFilterColumn == COLUMN_CONTENT) {