From c83ab25674ea5558e06b62526f0443831f593349 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 13 Jan 2022 22:48:27 +0100 Subject: [PATCH] Remove obsolete virtual method after submodules adjusted Amends cb27ed30f7bc58474eba991f837843eb76cbd339 after follow-up change 43fb6953fb940edfec358a2d1c01e05705712829 in Qt Svg. Task-number: QTBUG-99642 Pick-to: 6.2 6.3 Change-Id: Ice190dc9d1bdcb08d74c86edf0028cf50266d94e Reviewed-by: Fabian Kosmale --- src/gui/text/qcssparser_p.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/text/qcssparser_p.h b/src/gui/text/qcssparser_p.h index dc982018b9..8275dc055e 100644 --- a/src/gui/text/qcssparser_p.h +++ b/src/gui/text/qcssparser_p.h @@ -665,10 +665,7 @@ public: QList declarationsForNode(NodePtr node, const char *extraPseudo = nullptr); virtual bool nodeNameEquals(NodePtr node, const QString& nodeName) const; - // ### TODO keep until QtSvg is updated with new qtbase and has overridden attributeValue - virtual QString attribute(NodePtr, const QString &) const { return QString(); } - virtual QString attributeValue(NodePtr node, const QCss::AttributeSelector &aSelector) const - { return attribute(node, aSelector.name); } + virtual QString attributeValue(NodePtr node, const QCss::AttributeSelector &aSelector) const = 0; virtual bool hasAttributes(NodePtr node) const = 0; virtual QStringList nodeIds(NodePtr node) const; virtual QStringList nodeNames(NodePtr node) const = 0;