mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
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:
parent
0c185c04b8
commit
051ce984ed
@ -1552,8 +1552,8 @@ void MessagesDialog::insertMessages()
|
|||||||
std::ostringstream out;
|
std::ostringstream out;
|
||||||
out << it -> count;
|
out << it -> count;
|
||||||
item[COLUMN_ATTACHEMENTS] -> setText(QString::fromStdString(out.str()));
|
item[COLUMN_ATTACHEMENTS] -> setText(QString::fromStdString(out.str()));
|
||||||
item[COLUMN_ATTACHEMENTS]->setData(item[COLUMN_ATTACHEMENTS]->text() + dateString, Qt::UserRole);
|
item[COLUMN_ATTACHEMENTS] -> setData(item[COLUMN_ATTACHEMENTS]->text() + dateString, Qt::UserRole);
|
||||||
//item -> setTextAlignment( 0, Qt::AlignCenter );
|
item[COLUMN_ATTACHEMENTS] -> setTextAlignment(Qt::AlignHCenter);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nFilterColumn == COLUMN_CONTENT) {
|
if (nFilterColumn == COLUMN_CONTENT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user