`UpdateDialog* updateDialog = new UpdateDialog(_glWidget, releaseNotes, latestVersion, downloadURL);`

You may not even need to store the result.

`new UpdateDialog(_glWidget, releaseNotes, latestVersion, downloadURL);`