aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlnotifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlnotifier.cpp')
-rw-r--r--src/qml/qml/qqmlnotifier.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/qml/qml/qqmlnotifier.cpp b/src/qml/qml/qqmlnotifier.cpp
index 20b90a7111..2bae7f64b0 100644
--- a/src/qml/qml/qqmlnotifier.cpp
+++ b/src/qml/qml/qqmlnotifier.cpp
@@ -96,38 +96,5 @@ void QQmlNotifierEndpoint::connect(QObject *source, int sourceSignal, QQmlEngine
ddata->addNotify(sourceSignal, this);
}
-void QQmlNotifierEndpoint::copyAndClear(QQmlNotifierEndpoint &other)
-{
- if (&other == this)
- return;
-
- other.disconnect();
-
- other.callback = callback;
-
- if (!isConnected())
- return;
-
- other.notifier = notifier;
- other.sourceSignal = sourceSignal;
- other.disconnected = disconnected;
- other.notifying = notifying;
- if (other.disconnected) *other.disconnected = &other;
-
- if (next) {
- other.next = next;
- next->prev = &other.next;
- }
- other.prev = prev;
- *other.prev = &other;
-
- prev = 0;
- next = 0;
- disconnected = 0;
- notifier = 0;
- notifying = 0;
- sourceSignal = -1;
-}
-
QT_END_NAMESPACE