PDA

View Full Version : Solved... A Qwidget representing the screen fails between calls...



tonnot
30th January 2012, 09:13
I want to have a 'parent' reference .
I have a private QWidget * w_parent_destiny;

w_parent_destiny = QDesktopWidget().screen();
This works only into the function it is created.
Any idea ? Thanks
Answering mysefl .....
.qApp->desktop()->screen();