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. --- .../DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.cpp') diff --git a/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.cpp b/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.cpp index 5201c11fe8..42bfe61ada 100644 --- a/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.cpp +++ b/Source/Core/DolphinQt/Config/ControllerInterface/ControllerInterfaceWindow.cpp @@ -17,7 +17,6 @@ ControllerInterfaceWindow::ControllerInterfaceWindow(QWidget* parent) : QDialog( CreateMainLayout(); setWindowTitle(tr("Alternate Input Sources")); - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); } void ControllerInterfaceWindow::CreateMainLayout() -- cgit v1.2.3