mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
fixed compilation with qt4
This commit is contained in:
parent
84c81588bb
commit
6cb499065f
@ -33,6 +33,7 @@
|
||||
#include <QWidgetAction>
|
||||
|
||||
#include "ChatLobbyDialog.h"
|
||||
#include "util/QtVersion.h"
|
||||
#include "gui/ChatLobbyWidget.h"
|
||||
#include "ChatTabWidget.h"
|
||||
#include "gui/settings/rsharesettings.h"
|
||||
@ -89,7 +90,7 @@ ChatLobbyDialog::ChatLobbyDialog(const ChatLobbyId& lid, QWidget *parent, Qt::Wi
|
||||
|
||||
/* Set header resize modes and initial section sizes */
|
||||
QHeaderView * header = ui.participantsList->header();
|
||||
header->setSectionResizeMode( COLUMN_NAME, QHeaderView::Stretch);
|
||||
QHeaderView_setSectionResizeModeColumn(header, COLUMN_NAME, QHeaderView::Stretch);
|
||||
|
||||
muteAct = new QAction(QIcon(), tr("Mute participant"), this);
|
||||
voteNegativeAct = new QAction(QIcon(":/icons/png/thumbs-down.png"), tr("Ban this person (Sets negative opinion)"), this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user