mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-22 09:35:08 -07:00
[DeckStorage] Drop the unused tree widget model accessor
The accessor handed the model out past the wrapper methods that exist to keep it encapsulated, and nothing in the stack called it.
This commit is contained in:
parent
9ce9696737
commit
9a766e0281
1 changed files with 0 additions and 4 deletions
|
|
@ -145,10 +145,6 @@ private:
|
|||
|
||||
public:
|
||||
explicit RemoteDeckList_TreeWidget(AbstractClient *_client, QWidget *parent = nullptr);
|
||||
[[nodiscard]] RemoteDeckList_TreeModel *getModel() const
|
||||
{
|
||||
return treeModel;
|
||||
}
|
||||
[[nodiscard]] RemoteDeckList_TreeModel::Node *getNode(const QModelIndex &ind) const;
|
||||
[[nodiscard]] RemoteDeckList_TreeModel::Node *getCurrentItem() const;
|
||||
[[nodiscard]] QList<RemoteDeckList_TreeModel::Node *> getCurrentSelection() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue