Commit 2d57715a authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

minor improvement

parent 70594387
...@@ -14,6 +14,7 @@ GameSelector::GameSelector(Client *_client, QWidget *parent) ...@@ -14,6 +14,7 @@ GameSelector::GameSelector(Client *_client, QWidget *parent)
gameListProxyModel = new GamesProxyModel(this); gameListProxyModel = new GamesProxyModel(this);
gameListProxyModel->setSourceModel(gameListModel); gameListProxyModel->setSourceModel(gameListModel);
gameListView->setModel(gameListProxyModel); gameListView->setModel(gameListProxyModel);
gameListView->header()->setResizeMode(0, QHeaderView::ResizeToContents);
showFullGamesCheckBox = new QCheckBox; showFullGamesCheckBox = new QCheckBox;
createButton = new QPushButton; createButton = new QPushButton;
......
...@@ -12,6 +12,7 @@ TabSupervisor:: TabSupervisor(QWidget *parent) ...@@ -12,6 +12,7 @@ TabSupervisor:: TabSupervisor(QWidget *parent)
: QTabWidget(parent), client(0), tabServer(0), tabDeckStorage(0) : QTabWidget(parent), client(0), tabServer(0), tabDeckStorage(0)
{ {
tabChangedIcon = new QIcon(":/resources/icon_tab_changed.svg"); tabChangedIcon = new QIcon(":/resources/icon_tab_changed.svg");
setElideMode(Qt::ElideRight);
setIconSize(QSize(15, 15)); setIconSize(QSize(15, 15));
connect(this, SIGNAL(currentChanged(int)), this, SLOT(updateCurrent(int))); connect(this, SIGNAL(currentChanged(int)), this, SLOT(updateCurrent(int)));
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment