Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CommentSheet *commentSheet = new CommentSheet();
- QGraphicsScene *sceneObj;
- MApplicationPage *parentPage = (MApplicationPage*)parent();
- if (parentPage == NULL)
- sceneObj = scene();
- else
- sceneObj = parentPage->scene();
- commentSheet->appear(sceneObj, MSceneWindow::DestroyWhenDismissed);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement