25.04.2012, 13:16, "Sujan Dasmahapatra" <s...@lmwindpower.com>: > Is this correct type castting??? > > MainWindow *mainwinhandle = qobject_cast<MainWindow * >( > sheet->parent()->parent()->dataPage()->parent())->statusBar()->showMessage(tr(“A > new plot being added”),5000); > > It’s crashing… >
I think we gave you enough pointers, but you're still doing it wrong. Please read all recommendations once again and don't post your code here until you get it working. -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest