From 2a7e8a40037a1690287dcf47fa99b32513418bd0 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Tue, 27 May 2025 16:52:17 -0700 Subject: DolphinQt: Remove redundant window hints Remove window hints clearing the flag Qt::WindowContextHelpButtonHint, which is already off by default in Qt 6. In Qt 5 this flag was set by default for QDialogs, and on Windows put a ? button in the corner of the title bar allowing users to activate Qt's QWhatsThis help system for a given widget. Since we don't set that text the ? button was useless and so we hid it manually. --- .../Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp') diff --git a/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp b/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp index 84185da00d..04315c6aeb 100644 --- a/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp +++ b/Source/Core/DolphinQt/Config/ControllerInterface/DualShockUDPClientAddServerDialog.cpp @@ -29,7 +29,6 @@ DualShockUDPClientAddServerDialog::DualShockUDPClientAddServerDialog(QWidget* pa void DualShockUDPClientAddServerDialog::CreateWidgets() { setWindowTitle(tr("Add New DSU Server")); - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); m_main_layout = new QGridLayout; -- cgit v1.2.3