mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
DolphinQt: Set window decorations for all top-level QWidgets.
This commit is contained in:
@ -59,6 +59,7 @@
|
||||
#include "DolphinQt/QtUtils/DolphinFileDialog.h"
|
||||
#include "DolphinQt/QtUtils/ModalMessageBox.h"
|
||||
#include "DolphinQt/QtUtils/ParallelProgressDialog.h"
|
||||
#include "DolphinQt/QtUtils/SetWindowDecorations.h"
|
||||
#include "DolphinQt/Settings.h"
|
||||
#include "DolphinQt/Updater.h"
|
||||
|
||||
@ -1178,8 +1179,12 @@ void MenuBar::CheckNAND()
|
||||
return;
|
||||
}
|
||||
|
||||
if (NANDRepairDialog(result, this).exec() != QDialog::Accepted)
|
||||
return;
|
||||
{
|
||||
NANDRepairDialog dialog(result, this);
|
||||
SetQWidgetWindowDecorations(&dialog);
|
||||
if (dialog.exec() != QDialog::Accepted)
|
||||
return;
|
||||
}
|
||||
|
||||
if (WiiUtils::RepairNAND(ios))
|
||||
{
|
||||
@ -1336,6 +1341,7 @@ void MenuBar::GenerateSymbolsFromRSOAuto()
|
||||
|
||||
return matches;
|
||||
});
|
||||
SetQWidgetWindowDecorations(progress.GetRaw());
|
||||
progress.GetRaw()->exec();
|
||||
|
||||
const auto matches = future.get();
|
||||
|
Reference in New Issue
Block a user