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/NetPlay/NetPlayDialog.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/NetPlay/NetPlayDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp index ad9b5acf86..7eb0edcf8f 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp @@ -97,8 +97,6 @@ NetPlayDialog::NetPlayDialog(const GameListModel& game_list_model, : QDialog(parent), m_game_list_model(game_list_model), m_start_game_callback(std::move(start_game_callback)) { - setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); - setWindowTitle(tr("NetPlay")); setWindowIcon(Resources::GetAppIcon()); |
