When unhiding an application featuring top-level Qt::Tool windows which were previously shown, the windows are no longer visible.
Steps to reproduce
- Build and run the attached example - notice there is a regular window and a tool window
- Press Command+H to hide the application
- Click the application on the dock to unhide it - the tool window is gone.