QT Dialogs Without Titlebar on Gnome 3 (Fedora)

I am writing a program in QT that uses an SQLite database. I ran the software and was presented with a "file open" dialog for no apparent reason, and I had no idea what I was being asked.
Dialog With No Title Bar
The title bar is very clear on what is desired, but, there is some interaction between Gnome 3 and Qt that caused this to not display. This is the code used to display the dialog:

  1. path = QFileDialog::getExistingDirectory(this, "Select DB Path", path);

I changed the code to this

  1. path = QFileDialog::getExistingDirectory(nullptr, "Select DB Path", path);

And this is the result.

Dialog With Title Bar

I usually prefer to set a parent, but, while using Gnome 3 (at least on Fedora), it prevents the title bar from being displayed. This annoys me a great deal, and I am pretty sure that I have Gnome 3 to thank.

Note that my first attempt at fixing this was to add the QFileDialog::DontUseNativeDialog option to the dialog, but sadly, this accomplished nothing.