mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
Code maintenance for Qt 5:
- Changed code for GXS git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6780ff2cff
commit
3a72b27632
3 changed files with 18 additions and 15 deletions
|
@ -37,6 +37,7 @@
|
|||
#include "gui/msgs/MessageComposer.h"
|
||||
#include "util/DateTime.h"
|
||||
#include "gui/common/UIStateHelper.h"
|
||||
#include "util/QtVersion.h"
|
||||
|
||||
#include <retroshare/rsgxsforums.h>
|
||||
#include <retroshare/rspeers.h>
|
||||
|
@ -153,7 +154,7 @@ GxsForumThreadWidget::GxsForumThreadWidget(const std::string &forumId, QWidget *
|
|||
|
||||
/* Set header resize modes and initial section sizes */
|
||||
QHeaderView * ttheader = ui->threadTreeWidget->header () ;
|
||||
ttheader->setResizeMode (COLUMN_THREAD_TITLE, QHeaderView::Interactive);
|
||||
QHeaderView_setSectionResizeMode(ttheader, COLUMN_THREAD_TITLE, QHeaderView::Interactive);
|
||||
ttheader->resizeSection (COLUMN_THREAD_DATE, 140);
|
||||
ttheader->resizeSection (COLUMN_THREAD_TITLE, 290);
|
||||
|
||||
|
@ -177,7 +178,7 @@ GxsForumThreadWidget::GxsForumThreadWidget(const std::string &forumId, QWidget *
|
|||
|
||||
/* Set header sizes for the fixed columns and resize modes, must be set after processSettings */
|
||||
ttheader->resizeSection (COLUMN_THREAD_READ, 24);
|
||||
ttheader->setResizeMode (COLUMN_THREAD_READ, QHeaderView::Fixed);
|
||||
QHeaderView_setSectionResizeMode(ttheader, COLUMN_THREAD_READ, QHeaderView::Fixed);
|
||||
ttheader->hideSection (COLUMN_THREAD_CONTENT);
|
||||
|
||||
ui->progressBar->hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue