You create both the scene and the view on the stack, so they go out of scope when disp() returns.
Forum Rules
Bookmarks