aboutsummaryrefslogtreecommitdiffstats
path: root/gui/treemodel.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-11-11 10:53:48 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2018-11-11 10:53:48 +0100
commitb8870bb99c24d2998ca5bb5245589dd9d0703ea4 (patch)
tree8704c16c022ff328879fa5acfc0c98699e8688eb /gui/treemodel.h
parent3cfdb4e0c101b67dfe6d0d86174d8ed691ad9b28 (diff)
downloadnextpnr-b8870bb99c24d2998ca5bb5245589dd9d0703ea4.tar.gz
nextpnr-b8870bb99c24d2998ca5bb5245589dd9d0703ea4.tar.bz2
nextpnr-b8870bb99c24d2998ca5bb5245589dd9d0703ea4.zip
Propagate proper ctx, fixes fetchMore
Diffstat (limited to 'gui/treemodel.h')
-rw-r--r--gui/treemodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/treemodel.h b/gui/treemodel.h
index dbbf1025..d7f337a3 100644
--- a/gui/treemodel.h
+++ b/gui/treemodel.h
@@ -352,8 +352,8 @@ class Model : public QAbstractItemModel
Model(QObject *parent = nullptr);
~Model();
- void loadData(std::unique_ptr<Item> data);
- void updateElements(Context *ctx, std::vector<IdString> elements);
+ void loadData(Context *ctx, std::unique_ptr<Item> data);
+ void updateElements(std::vector<IdString> elements);
Item *nodeFromIndex(const QModelIndex &idx) const;
QModelIndex indexFromNode(Item *node)
{