moved Forum Title Column as First column

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-30 23:49:20 +00:00
parent f36f92eb24
commit 4f4bad4d5a
2 changed files with 7 additions and 5 deletions

View File

@ -60,8 +60,8 @@
#define VIEW_FLAT 2
#define COLUMN_COUNT 7
#define COLUMN_DATE 0
#define COLUMN_TITLE 1
#define COLUMN_TITLE 0
#define COLUMN_DATE 1
#define COLUMN_AUTHOR 2
#define COLUMN_SIGNED 3
#define COLUMN_PARENTID 4
@ -147,6 +147,8 @@ ForumsDialog::ForumsDialog(QWidget *parent)
ttheader->resizeSection ( COLUMN_DATE, 170 );
ttheader->resizeSection ( COLUMN_TITLE, 170 );
ttheader->hideSection (COLUMN_CONTENT);
ui.threadTreeWidget->sortItems( COLUMN_DATE, Qt::DescendingOrder );
m_ForumNameFont = QFont("Times", 12, QFont::Bold);
@ -842,7 +844,7 @@ void ForumsDialog::insertThreads()
if (flatView)
{
child = new QTreeWidgetItem();
ui.threadTreeWidget->setRootIsDecorated( false );
ui.threadTreeWidget->setRootIsDecorated( true );
}
else
{

View File

@ -875,12 +875,12 @@ background: white;}</string>
</property>
<column>
<property name="text">
<string>Date</string>
<string>Title</string>
</property>
</column>
<column>
<property name="text">
<string>Title</string>
<string>Date</string>
</property>
</column>
<column>