diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-05-16 12:55:37 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-06-07 16:15:34 -0500 |
| commit | 5906512847b37419890c75c6cdccfff5076a476f (patch) | |
| tree | 5e6732d7a0c2cdadf7009e2de926f69a03a7c79f /Source/Core/DolphinQt/ConvertDialog.cpp | |
| parent | 52fcdde4852ccab197092da37b00548e33844d85 (diff) | |
DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter.
Diffstat (limited to 'Source/Core/DolphinQt/ConvertDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/ConvertDialog.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp index f4e363c79f..019819c333 100644 --- a/Source/Core/DolphinQt/ConvertDialog.cpp +++ b/Source/Core/DolphinQt/ConvertDialog.cpp @@ -31,7 +31,6 @@ #include "DolphinQt/QtUtils/DolphinFileDialog.h" #include "DolphinQt/QtUtils/ModalMessageBox.h" #include "DolphinQt/QtUtils/ParallelProgressDialog.h" -#include "DolphinQt/QtUtils/SetWindowDecorations.h" #include "UICommon/GameFile.h" #include "UICommon/UICommon.h" @@ -283,7 +282,6 @@ bool ConvertDialog::ShowAreYouSureDialog(const QString& text) warning.setInformativeText(text); warning.setStandardButtons(QMessageBox::Yes | QMessageBox::No); - SetQWidgetWindowDecorations(&warning); return warning.exec() == QMessageBox::Yes; } @@ -408,7 +406,6 @@ void ConvertDialog::Convert() .arg(dst_info.fileName())); confirm_replace.setStandardButtons(QMessageBox::Yes | QMessageBox::No); - SetQWidgetWindowDecorations(&confirm_replace); if (confirm_replace.exec() == QMessageBox::No) continue; } @@ -519,7 +516,6 @@ void ConvertDialog::Convert() break; } - SetQWidgetWindowDecorations(progress_dialog.GetRaw()); progress_dialog.GetRaw()->exec(); if (!success.get()) { |
