I'd try the following:
0. Remove the moving code from the constructor.
1. Create the dialog hidden.
2. Call setGeometry() on it from the parent.
3. show it.
I'd try the following:
0. Remove the moving code from the constructor.
1. Create the dialog hidden.
2. Call setGeometry() on it from the parent.
3. show it.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks