mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #13665 from jordan-woyak/dark-mode-filter
DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter.
This commit is contained in:
@ -18,7 +18,6 @@
|
||||
#include "Core/System.h"
|
||||
|
||||
#include "DolphinQt/QtUtils/QtUtils.h"
|
||||
#include "DolphinQt/QtUtils/SetWindowDecorations.h"
|
||||
|
||||
SkylanderModifyDialog::SkylanderModifyDialog(QWidget* parent, u8 slot)
|
||||
: QDialog(parent), m_slot(slot)
|
||||
@ -107,8 +106,6 @@ SkylanderModifyDialog::SkylanderModifyDialog(QWidget* parent, u8 slot)
|
||||
|
||||
this->setLayout(layout);
|
||||
|
||||
SetQWidgetWindowDecorations(this);
|
||||
|
||||
if (should_show)
|
||||
{
|
||||
this->show();
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "Core/System.h"
|
||||
|
||||
#include "DolphinQt/QtUtils/DolphinFileDialog.h"
|
||||
#include "DolphinQt/QtUtils/SetWindowDecorations.h"
|
||||
#include "DolphinQt/Resources.h"
|
||||
#include "DolphinQt/Settings.h"
|
||||
#include "SkylanderModifyDialog.h"
|
||||
@ -635,7 +634,6 @@ void SkylanderPortalWindow::CreateSkylanderAdvanced()
|
||||
|
||||
connect(buttons, &QDialogButtonBox::rejected, create_window, &QDialog::reject);
|
||||
|
||||
SetQWidgetWindowDecorations(create_window);
|
||||
create_window->show();
|
||||
create_window->raise();
|
||||
}
|
||||
|
Reference in New Issue
Block a user