[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 committed by GitHub
parent 9ce9696737
commit 9a766e0281
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;