Problem with transform of pointer
General and Desktop
5
Posts
4
Posters
2.5k
Views
1
Watching
-
I have parent class and widget, and in class of this widget i write
@ RizekColorManager * rcm;
rcm = qobject_cast<RizekColorManager*>(parent());
if (rcm)
rcm->setWindowTitle("asd");@
There no some mistakes, but there are doesnt work, why?
Advance thanks for your help! -
Are you sure that parent of your widget is RizekColorManager instance?