Give GamePropertiesDialog a parent

This commit is contained in:
Silent
2020-08-29 14:42:28 +02:00
parent 79aaf908a6
commit 800c5303de
3 changed files with 4 additions and 4 deletions

View File

@@ -153,9 +153,9 @@ void GamePropertiesDialog::setupAdditionalUi()
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
}
void GamePropertiesDialog::showForEntry(QtHostInterface* host_interface, const GameListEntry* ge)
void GamePropertiesDialog::showForEntry(QtHostInterface* host_interface, const GameListEntry* ge, QWidget* parent)
{
GamePropertiesDialog* gpd = new GamePropertiesDialog(host_interface);
GamePropertiesDialog* gpd = new GamePropertiesDialog(host_interface, parent);
gpd->populate(ge);
gpd->show();
gpd->onResize();