equal
deleted
inserted
replaced
50 mainLayout.addWidget(chatText, 0, 0); |
50 mainLayout.addWidget(chatText, 0, 0); |
51 |
51 |
52 chatNicks = new QListWidget(this); |
52 chatNicks = new QListWidget(this); |
53 chatNicks->setMinimumHeight(10); |
53 chatNicks->setMinimumHeight(10); |
54 chatNicks->setMinimumWidth(10); |
54 chatNicks->setMinimumWidth(10); |
|
55 chatNicks->setSortingEnabled(true); |
55 chatNicks->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
56 chatNicks->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); |
56 chatNicks->setContextMenuPolicy(Qt::ActionsContextMenu); |
57 chatNicks->setContextMenuPolicy(Qt::ActionsContextMenu); |
57 mainLayout.addWidget(chatNicks, 0, 1); |
58 mainLayout.addWidget(chatNicks, 0, 1); |
58 |
59 |
59 QAction * acBan = new QAction(QAction::tr("Kick"), chatNicks); |
60 QAction * acBan = new QAction(QAction::tr("Kick"), chatNicks); |