diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2020-03-23 21:13:03 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2020-03-30 14:18:11 +0200 |
commit | 9f2c5aa2efd24507f4508889911873bc1c9d301e (patch) | |
tree | e861dfffd9c1caf106aa2aaeeae04ceba4b30002 /src/qml | |
parent | 22c99095bc8525989244dab8764c65e784304d84 (diff) |
Minor cleanup
Remove unnecessary shadowing of function from base class.
Change-Id: I46539be359ae794e357930ac6f2287f5d14331d6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/qml/qqmlbinding.cpp | 5 | ||||
-rw-r--r-- | src/qml/qml/qqmlbinding_p.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/qml/qml/qqmlbinding.cpp b/src/qml/qml/qqmlbinding.cpp index feb3fa9623..0dcc17d9e8 100644 --- a/src/qml/qml/qqmlbinding.cpp +++ b/src/qml/qml/qqmlbinding.cpp @@ -157,11 +157,6 @@ QQmlBinding::~QQmlBinding() delete m_sourceLocation; } -void QQmlBinding::setNotifyOnValueChanged(bool v) -{ - QQmlJavaScriptExpression::setNotifyOnValueChanged(v); -} - void QQmlBinding::update(QQmlPropertyData::WriteFlags flags) { if (!enabledFlag() || !hasValidContext()) diff --git a/src/qml/qml/qqmlbinding_p.h b/src/qml/qml/qqmlbinding_p.h index 09f5dfc0e1..8aeb87df1f 100644 --- a/src/qml/qml/qqmlbinding_p.h +++ b/src/qml/qml/qqmlbinding_p.h @@ -96,8 +96,6 @@ public: void setTarget(const QQmlProperty &); bool setTarget(QObject *, const QQmlPropertyData &, const QQmlPropertyData *valueType); - void setNotifyOnValueChanged(bool); - void refresh() override; void setEnabled(bool, QQmlPropertyData::WriteFlags flags = QQmlPropertyData::DontRemoveBinding) override; |