From 76e22f15b9f7eb9227d6ba32198ea1f5464664e5 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: Mon, 13 Mar 2023 13:17:33 +0800 Subject: Member data init from C struct is at constructor with a copy, and the need to keep a pointer to the C struct is no more. --- 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 4ec06b4..985f923 100644 --- a/interchange/ord.hxx +++ b/interchange/ord.hxx @@ -45,7 +45,7 @@ namespace QInterchange { void setProfile(QString const& profile); public slots: // void remove(unsigned int const& indices); - void checkout(Member& member); + void checkout(const Member& member); signals: void rowCountChanged(); void subtotalChanged(); -- cgit v1.2.3