From 2e8742e64fc02477296335c39b0485895321855b Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 3 May 2021 01:49:43 +0200 Subject: Revert QStringView port QStringView has some bits of API that were only added in 5.15.2, whereas KF requires 5.15.0. This reverts commit 1780fb2a237af80ddc1f9cfb70cb892b53b91990. --- src/gui/kconfigloaderhandler_p.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/kconfigloaderhandler_p.h') diff --git a/src/gui/kconfigloaderhandler_p.h b/src/gui/kconfigloaderhandler_p.h index 297e5462..bc199e0e 100644 --- a/src/gui/kconfigloaderhandler_p.h +++ b/src/gui/kconfigloaderhandler_p.h @@ -17,8 +17,9 @@ public: bool parse(QIODevice *input); - void startElement(const QStringView localName, const QXmlStreamAttributes &attrs); - void endElement(const QStringView localName); + bool startElement(const QStringRef &localName, const QXmlStreamAttributes &attrs); + bool endElement(const QStringRef &localName); + bool characters(const QStringRef &ch); private: void addItem(); -- cgit v1.2.1