From 7f6e1548a62982b06f9435fd8d8d547d2c7ccb0d Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 18 May 2025 17:48:46 -0700 Subject: [PATCH] Parent the "new sets found" dialog --- cockatrice/src/client/ui/window_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/client/ui/window_main.cpp b/cockatrice/src/client/ui/window_main.cpp index 7dabc96c6..721881c89 100644 --- a/cockatrice/src/client/ui/window_main.cpp +++ b/cockatrice/src/client/ui/window_main.cpp @@ -1099,7 +1099,7 @@ void MainWindow::cardDatabaseLoadingFailed() void MainWindow::cardDatabaseNewSetsFound(int numUnknownSets, QStringList unknownSetsNames) { - QMessageBox msgBox; + QMessageBox msgBox(this); msgBox.setWindowTitle(tr("New sets found")); msgBox.setIcon(QMessageBox::Question); msgBox.setText(tr("%n new set(s) found in the card database\n"