mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 10:22:15 -07:00
move bottom row creation closer to where it's used
This commit is contained in:
parent
a4eb9824a5
commit
f9a0be48c5
1 changed files with 4 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
|||
|
||||
// If the number is < 0, then it means that we can give the option to make the area sorted
|
||||
if (numberCards < 0) {
|
||||
QGraphicsLinearLayout *hPilebox = new QGraphicsLinearLayout(Qt::Horizontal);
|
||||
// top row
|
||||
QGraphicsLinearLayout *hFilterbox = new QGraphicsLinearLayout(Qt::Horizontal);
|
||||
|
||||
// groupBy options
|
||||
|
|
@ -68,6 +68,9 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
|||
lineProxy->setWidget(line);
|
||||
vbox->addItem(lineProxy);
|
||||
|
||||
// bottom row
|
||||
QGraphicsLinearLayout *hPilebox = new QGraphicsLinearLayout(Qt::Horizontal);
|
||||
|
||||
// pile view options
|
||||
QGraphicsProxyWidget *pileViewProxy = new QGraphicsProxyWidget;
|
||||
pileViewProxy->setWidget(&pileViewCheckBox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue