aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickstackview_p.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paulwicking@gmail.com>2020-06-05 14:36:01 +0200
committerPaul Wicking <paulwicking@gmail.com>2020-06-05 14:36:01 +0200
commitd112da7427513d497756add95e3ae6300f9ee66b (patch)
tree2855a81a82f24c66cd8f844258290791d5e51597 /src/quicktemplates2/qquickstackview_p.cpp
parentc6f91c7457c260c3fc453f6d60c6fcb5ca4d49d0 (diff)
parent9dc5996de04420710cda81f91c1b4ff34ee064f2 (diff)
Merge 5.12 into 5.12.9v5.12.9
Diffstat (limited to 'src/quicktemplates2/qquickstackview_p.cpp')
-rw-r--r--src/quicktemplates2/qquickstackview_p.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickstackview_p.cpp b/src/quicktemplates2/qquickstackview_p.cpp
index 7cb943a3..f12e283f 100644
--- a/src/quicktemplates2/qquickstackview_p.cpp
+++ b/src/quicktemplates2/qquickstackview_p.cpp
@@ -56,6 +56,12 @@ void QQuickStackViewPrivate::warn(const QString &error)
qmlWarning(q) << operation << ": " << error;
}
+void QQuickStackViewPrivate::warnOfInterruption(const QString &attemptedOperation)
+{
+ Q_Q(QQuickStackView);
+ qmlWarning(q) << "cannot " << attemptedOperation << " while already in the process of completing a " << operation;
+}
+
void QQuickStackViewPrivate::setCurrentItem(QQuickStackElement *element)
{
Q_Q(QQuickStackView);