Thank you marcel, now is working and never mind for the new entry in the taskbar.
One more stupid question; when i close the mainwindow the child remains open. I have created a destructor for the mainWindow like this:
Qt Code:
MainWindow::~MainWindow() { if(gameViewer) gameViewer->close(); }To copy to clipboard, switch view to plain text mode
but doesn't work.
Regards
Bookmarks