mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
Member variable.
This commit is contained in:
parent
ae636986ae
commit
e2efb6e9a8
2 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(pare
|
|||
setLayout(layout);
|
||||
|
||||
// ComboBox for sorting options
|
||||
auto *sortComboBox = new QComboBox(this);
|
||||
sortComboBox = new QComboBox(this);
|
||||
sortComboBox->addItem("Sort Alphabetically (Filename)", Alphabetical);
|
||||
sortComboBox->addItem("Sort by Last Modified", ByLastModified);
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include "../cards/card_size_widget.h"
|
||||
#include "visual_deck_storage_search_widget.h"
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QFileSystemModel>
|
||||
|
||||
class VisualDeckStorageSearchWidget;
|
||||
|
|
@ -41,6 +42,7 @@ private:
|
|||
QMap<QString, DeckViewCardContainer *> cardContainers;
|
||||
|
||||
SortOrder sortOrder; // Current sorting option
|
||||
QComboBox *sortComboBox;
|
||||
VisualDeckStorageSearchWidget *searchWidget;
|
||||
CardSizeWidget *cardSizeWidget;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue