mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
Fix building & logging out
This commit is contained in:
parent
57eab3d48a
commit
b30b72b7c3
2 changed files with 4 additions and 5 deletions
|
|
@ -46,8 +46,9 @@
|
|||
# cockatrice_xml.xml_4_parser = false
|
||||
# card_list = false
|
||||
|
||||
# flow_layout = false
|
||||
flow_widget.* = false
|
||||
flow_layout.debug = false
|
||||
flow_widget.debug = false
|
||||
flow_widget.size.debug = false
|
||||
|
||||
# pixel_map_generator = false
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QMouseEvent>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(parent)
|
||||
VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(parent), folderWidget(nullptr)
|
||||
{
|
||||
deckListModel = new DeckListModel(this);
|
||||
deckListModel->setObjectName("visualDeckModel");
|
||||
|
|
@ -58,8 +58,6 @@ VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(pare
|
|||
scrollArea = new QScrollArea(this);
|
||||
scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
|
||||
scrollArea->setWidget(folderWidget);
|
||||
scrollArea->setWidgetResizable(true);
|
||||
|
||||
// putting everything together
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue