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. --- Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp') diff --git a/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp b/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp index cf159e0a16..94f94c4c28 100644 --- a/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp +++ b/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp @@ -42,7 +42,6 @@ USBDeviceAddToWhitelistDialog::USBDeviceAddToWhitelistDialog(QWidget* parent) : void USBDeviceAddToWhitelistDialog::InitControls() { setWindowTitle(tr("Add New USB Device")); - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); m_whitelist_buttonbox = new QDialogButtonBox(); auto* add_button = new QPushButton(tr("Add")); -- cgit v1.2.3