diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-03-03 17:07:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-03 17:07:45 +0100 |
| commit | 8f06ab02ea9108c2045609f46477862bf4e00895 (patch) | |
| tree | a09ec50432f3a33576b4e75c173c15b412731a30 /Source/Core/DolphinQt/Config/ControllersWindow.cpp | |
| parent | 2a3c0753303a9f4cd79a92cd94b6a22298b516d6 (diff) | |
| parent | 0d203cf0bb6e192bc786f5780f2b0468404c529b (diff) | |
Merge pull request #7847 from spycrab/qt_modal_more
Qt: Make a lot of message boxes modal
Diffstat (limited to 'Source/Core/DolphinQt/Config/ControllersWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/ControllersWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/ControllersWindow.cpp b/Source/Core/DolphinQt/Config/ControllersWindow.cpp index 8570b6ff18..fbedd80b03 100644 --- a/Source/Core/DolphinQt/Config/ControllersWindow.cpp +++ b/Source/Core/DolphinQt/Config/ControllersWindow.cpp @@ -330,6 +330,7 @@ void ControllersWindow::OnBluetoothPassthroughResetPressed() { QMessageBox error(this); error.setIcon(QMessageBox::Warning); + error.setWindowModality(Qt::WindowModal); error.setWindowTitle(tr("Warning")); error.setText(tr("Saved Wii Remote pairings can only be reset when a Wii game is running.")); error.exec(); @@ -351,6 +352,7 @@ void ControllersWindow::OnBluetoothPassthroughSyncPressed() { QMessageBox error(this); error.setIcon(QMessageBox::Warning); + error.setWindowModality(Qt::WindowModal); error.setWindowTitle(tr("Warning")); error.setText(tr("A sync can only be triggered when a Wii game is running.")); error.exec(); |
