diff options
Diffstat (limited to 'Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp index e6b34cbe5c..b960a99dd5 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlaySetupDialog.cpp @@ -11,7 +11,6 @@ #include <QLabel> #include <QLineEdit> #include <QListWidget> -#include <QMessageBox> #include <QPushButton> #include <QSignalBlocker> #include <QSpinBox> @@ -20,6 +19,7 @@ #include "Core/Config/NetplaySettings.h" #include "DolphinQt/GameList/GameListModel.h" +#include "DolphinQt/QtUtils/ModalMessageBox.h" #include "DolphinQt/Settings.h" NetPlaySetupDialog::NetPlaySetupDialog(QWidget* parent) @@ -269,7 +269,7 @@ void NetPlaySetupDialog::accept() auto items = m_host_games->selectedItems(); if (items.empty()) { - QMessageBox::critical(this, tr("Error"), tr("You must select a game to host!")); + ModalMessageBox::critical(this, tr("Error"), tr("You must select a game to host!")); return; } @@ -310,7 +310,7 @@ void NetPlaySetupDialog::ResetTraversalHost() Config::SetBaseOrCurrent(Config::NETPLAY_TRAVERSAL_PORT, Config::NETPLAY_TRAVERSAL_PORT.default_value); - QMessageBox::information( + ModalMessageBox::information( this, tr("Reset Traversal Server"), tr("Reset Traversal Server to %1:%2") .arg(QString::fromStdString(Config::NETPLAY_TRAVERSAL_SERVER.default_value), |
