summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-01-13 22:48:27 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-01-21 01:30:50 +0100
commitc83ab25674ea5558e06b62526f0443831f593349 (patch)
treebf763af48787d289324c2fd63590eb2b30e51b9e /src
parent9f1854acf8a13de98b5706d1246baa15f15f377e (diff)
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 <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/gui/text/qcssparser_p.h5
1 files changed, 1 insertions, 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<Declaration> 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;