mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an event filter.
This commit is contained in:
@ -5,8 +5,6 @@
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
#include "DolphinQt/QtUtils/SetWindowDecorations.h"
|
||||
|
||||
ModalMessageBox::ModalMessageBox(QWidget* parent, Qt::WindowModality modality)
|
||||
: QMessageBox(parent != nullptr ? parent->window() : nullptr)
|
||||
{
|
||||
@ -31,7 +29,6 @@ static inline int ExecMessageBox(ModalMessageBox::Icon icon, QWidget* parent, co
|
||||
msg.setDefaultButton(default_button);
|
||||
msg.setDetailedText(detailed_text);
|
||||
|
||||
SetQWidgetWindowDecorations(&msg);
|
||||
return msg.exec();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user