mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 19:26:31 -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
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "DhtWindow.h"
|
||||
#include "ui_DhtWindow.h"
|
||||
#include "util/QtVersion.h"
|
||||
|
||||
#include <QTimer>
|
||||
#include <QDateTime>
|
||||
|
@ -76,9 +77,9 @@ void DhtWindow::updateDisplay()
|
|||
|
||||
RsAutoUpdatePage::unlockAllEvents() ;
|
||||
|
||||
ui.peerTreeWidget->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
ui.dhtTreeWidget->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
ui.relayTreeWidget->header()->setResizeMode(QHeaderView::ResizeToContents);
|
||||
QHeaderView_setSectionResizeMode(ui.peerTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
QHeaderView_setSectionResizeMode(ui.dhtTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
QHeaderView_setSectionResizeMode(ui.relayTreeWidget->header(), QHeaderView::ResizeToContents);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue