gonetz / GLideN64

A new generation, open-source graphics plugin for N64 emulators.
Other
754 stars 174 forks source link

Fix #2813 #2824

Closed scurest closed 3 months ago

scurest commented 3 months ago

Fixes #2813.

In openConfigDialog, moves argc/argv to a higher scope so their lifetime is longer than the lifetime of the QApplication. (My first suggestion of static lifetime would have been wrong.)

In both openConfigDialog and openAboutDialog, makes sure argv is non-empty.

Both changes are to conform to Qt's docs.