minor improvement
This commit is contained in:
parent
70594387de
commit
2d57715a6e
2 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ GameSelector::GameSelector(Client *_client, QWidget *parent)
|
|||
gameListProxyModel = new GamesProxyModel(this);
|
||||
gameListProxyModel->setSourceModel(gameListModel);
|
||||
gameListView->setModel(gameListProxyModel);
|
||||
gameListView->header()->setResizeMode(0, QHeaderView::ResizeToContents);
|
||||
|
||||
showFullGamesCheckBox = new QCheckBox;
|
||||
createButton = new QPushButton;
|
||||
|
|
|
@ -12,6 +12,7 @@ TabSupervisor:: TabSupervisor(QWidget *parent)
|
|||
: QTabWidget(parent), client(0), tabServer(0), tabDeckStorage(0)
|
||||
{
|
||||
tabChangedIcon = new QIcon(":/resources/icon_tab_changed.svg");
|
||||
setElideMode(Qt::ElideRight);
|
||||
setIconSize(QSize(15, 15));
|
||||
connect(this, SIGNAL(currentChanged(int)), this, SLOT(updateCurrent(int)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue