From b484b7faf0d75a9a4e60f5c8cfe68f91f0870669 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 4 Feb 2015 13:23:02 +0100 Subject: [PATCH] document what happens to the page after pop() Change-Id: I85b6cca525ced119329e1c28807efb6befcb4af3 --- src/declarativeimports/plasmacomponents/qml/PageStack.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/declarativeimports/plasmacomponents/qml/PageStack.qml b/src/declarativeimports/plasmacomponents/qml/PageStack.qml index f163f9ecc..8a0bafe84 100644 --- a/src/declarativeimports/plasmacomponents/qml/PageStack.qml +++ b/src/declarativeimports/plasmacomponents/qml/PageStack.qml @@ -130,6 +130,9 @@ Item { /** * Pops a page off the stack. + * If the page used to have another parent before being pushed, it will be reparented + * to this old parent. If the page was created from a component at push time, + * it will be deleted. * * @param type:Page page if page is specified then the stack is unwound to that * page, to unwind to the first page specify page as null.