Message ID | 20240114171723.14092-18-dev@benjarobin.fr (mailing list archive) |
---|---|
State | Accepted |
Commit | fa9b84c385f163f5686caa641e768d486ca73230 |
Headers | show
Received: from smtpout3.mo529.mail-out.ovh.net (smtpout3.mo529.mail-out.ovh.net [46.105.54.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD47FD30E for <linux-trace-devel@vger.kernel.org>; Sun, 14 Jan 2024 17:25:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=benjarobin.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=benjarobin.fr Received: from mxplan5.mail.ovh.net (unknown [10.109.139.82]) by mo529.mail-out.ovh.net (Postfix) with ESMTPS id 390012045E; Sun, 14 Jan 2024 17:17:40 +0000 (UTC) Received: from benjarobin.fr (37.59.142.108) by DAG6EX2.mxp5.local (172.16.2.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 14 Jan 2024 18:17:39 +0100 Authentication-Results: garm.ovh; auth=pass (GARM-108S0029081479a-de7b-483c-81ba-cf070f184330, 5BE38D5D59959AD767059B58A5CDE138DFC9D9F8) smtp.auth=dev@benjarobin.fr X-OVh-ClientIp: 92.161.126.4 From: Benjamin ROBIN <dev@benjarobin.fr> To: <y.karadz@gmail.com> CC: <linux-trace-devel@vger.kernel.org>, Benjamin ROBIN <dev@benjarobin.fr> Subject: [PATCH 17/34] kernelshark: Return by reference the list of header in KsModels Date: Sun, 14 Jan 2024 18:17:06 +0100 Message-ID: <20240114171723.14092-18-dev@benjarobin.fr> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240114171723.14092-1-dev@benjarobin.fr> References: <20240114171723.14092-1-dev@benjarobin.fr> Precedence: bulk X-Mailing-List: linux-trace-devel@vger.kernel.org List-Id: <linux-trace-devel.vger.kernel.org> List-Subscribe: <mailto:linux-trace-devel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-trace-devel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DAG1EX2.mxp5.local (172.16.2.2) To DAG6EX2.mxp5.local (172.16.2.52) X-Ovh-Tracer-GUID: 65f01ba9-5df2-4257-a4d9-1af284215310 X-Ovh-Tracer-Id: 1671679889031782298 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeiledgleelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgtghisehtkeertdertddtnecuhfhrohhmpeeuvghnjhgrmhhinhcutffquefkpfcuoeguvghvsegsvghnjhgrrhhosghinhdrfhhrqeenucggtffrrghtthgvrhhnpedtheetffeikedvjeegudelheelkeehheekgffgheehtdevjeffjedvgedtvefhjeenucfkphepuddvjedrtddrtddruddpfeejrdehledrudegvddruddtkedpledvrdduiedurdduvdeirdegnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeouggvvhessggvnhhjrghrohgsihhnrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohephidrkhgrrhgrugiisehgmhgrihhlrdgtohhmpdhlihhnuhigqdhtrhgrtggvqdguvghvvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdfovfetjfhoshhtpehmohehvdelpdhmohguvgepshhmthhpohhuth |
Series |
Fix kernelshark issues introduced by the migration to Qt6
|
expand
|
diff --git a/src/KsModels.hpp b/src/KsModels.hpp index e113cf5..b95c6c1 100644 --- a/src/KsModels.hpp +++ b/src/KsModels.hpp @@ -81,7 +81,7 @@ public: void update(KsDataStore *data); /** Get the list of column's headers. */ - QStringList header() const {return _header;} + const QStringList& header() const {return _header;} QString getValueStr(int column, int row) const;
Signed-off-by: Benjamin ROBIN <dev@benjarobin.fr> --- src/KsModels.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)