mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 00:55:09 -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
c301ebd5d6
commit
389a6d9e8a
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