I have this code being called by a QMainWindow:
centralWidget()->currentWidget()->addSubWindow(new SubWindow());
the centralWidget is a QTabWidget the currentWidget is a QMdiWindow and I get the error: error: 'class QWidget' has no member named 'currentWidget'
please help