Hi,
I have an application with a single window.
When I run the application it works fine when I just use my laptop screen or when I have a second screen plugged in.
The problem comes when I try to switch between them, for example when I open the application on the second screen, then disconnect the second screen I am unable to get the application to show in my laptop screen.
I believe that the application is still open at the location on the second screen which no longer exists.
I wondered how I can make my application update/check its location so it does not get lost when the second screen is removed?
I have had a look into QWindow & QDesktopWidget Class but can't seem to find a simple elegant solution to my problem.
Windows Application
Qt 5.4
Bookmarks