diff options
| author | Dentomologist <dentomologist@gmail.com> | 2025-05-27 16:52:17 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2025-06-06 19:35:13 -0700 |
| commit | 2a7e8a40037a1690287dcf47fa99b32513418bd0 (patch) | |
| tree | 66d4c597f2570859104f6b796dceb909197d0f1b /Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp | |
| parent | 5ec5db92400d25b35373b3e814976d3388dedc0a (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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")); |
