Browse Source
We can just pass a pointer to GMainWindow directly and make it a requirement of the interface. This makes the interface a little safer, since this would technically otherwise allow any random QWidget to be the parent of a render window, downcasting it to GMainWindow (which is undefined behavior).nce_cpp
2 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue