From ca179a4b0ed27a240bd3144a01e3c7ec13f75389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 14 Jun 2023 20:20:10 +0800 Subject: Ord is back constructed using pointers again so we can use C fake OOP with it. --- interchange/ord.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interchange/ord.hxx') diff --git a/interchange/ord.hxx b/interchange/ord.hxx index 83fcce9..7728085 100644 --- a/interchange/ord.hxx +++ b/interchange/ord.hxx @@ -36,7 +36,7 @@ namespace QInterchange { Q_PROPERTY(double totalCost READ totalCost NOTIFY totalCostChanged) public: - explicit Ord(struct interchange_ord_order order, + explicit Ord(struct interchange_ord_order *order, QObject* parent = nullptr); ~Ord() {} int rowCount(QModelIndex const& parent = QModelIndex()) const Q_DECL_OVERRIDE; -- cgit v1.2.3