QMessageBox location
-
When my application presents a message with QMessageBox, the message is centered over my app, which is just how I want it. However, on a multiple monitor system, if I drag my application to a different monitor, messageboxes appear on the original monitor, not the monitor the program was dragged to. Is there a way to lock my messageboxes to current location of the application?
-
Hi,
What version of Qt are you using ?
On what OS ?
If Linux: what distribution ? Desktop Environment ?
With which compiler ? -
Can you show a minimal sample application that reproduces that behaviour ?
-
Per your suggestion, I built a simple application and qmessagebox behaved exactly as it should when I dragged the program to different monitors. So, I went back into my problem code and discovered the behavior was self-induced.
-
Glad you found out !
Could you explain what happened in your code to trigger this ?
6/6