mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fixed compile with Qt 5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8555 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7d541318b3
commit
c3b794afb2
18 changed files with 90 additions and 82 deletions
|
@ -79,7 +79,7 @@ FeedReaderMessageWidget::FeedReaderMessageWidget(const std::string &feedId, RsFe
|
|||
|
||||
/* set header resize modes and initial section sizes */
|
||||
QHeaderView *header = ui->msgTreeWidget->header();
|
||||
QHeaderView_setSectionResizeMode(header, COLUMN_MSG_TITLE, QHeaderView::Interactive);
|
||||
QHeaderView_setSectionResizeModeColumn(header, COLUMN_MSG_TITLE, QHeaderView::Interactive);
|
||||
header->resizeSection(COLUMN_MSG_TITLE, 350);
|
||||
header->resizeSection(COLUMN_MSG_PUBDATE, 140);
|
||||
header->resizeSection(COLUMN_MSG_AUTHOR, 150);
|
||||
|
@ -99,7 +99,7 @@ FeedReaderMessageWidget::FeedReaderMessageWidget(const std::string &feedId, RsFe
|
|||
|
||||
/* Set header sizes for the fixed columns and resize modes, must be set after processSettings */
|
||||
header->resizeSection(COLUMN_MSG_READ, 24);
|
||||
QHeaderView_setSectionResizeMode(header, COLUMN_MSG_READ, QHeaderView::Fixed);
|
||||
QHeaderView_setSectionResizeModeColumn(header, COLUMN_MSG_READ, QHeaderView::Fixed);
|
||||
|
||||
/* build menu for link button */
|
||||
QMenu *menu = new QMenu(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue