[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:
Lukas Brübach 2026-09-19 07:49:33 +02:00
parent c301ebd5d6
commit 389a6d9e8a

View file

@ -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;