Advertisement
Guest User

Untitled

a guest
Mar 11th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     CommentSheet *commentSheet = new CommentSheet();
  2.     QGraphicsScene *sceneObj;
  3.     MApplicationPage *parentPage = (MApplicationPage*)parent();
  4.     if (parentPage == NULL)
  5.         sceneObj = scene();
  6.     else
  7.         sceneObj = parentPage->scene();
  8.     commentSheet->appear(sceneObj, MSceneWindow::DestroyWhenDismissed);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement