diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-01-25 17:56:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-25 17:56:58 -0500 |
| commit | 4ec50dfd4ffc7b2508fa57df8aee510ac0d20447 (patch) | |
| tree | 17927bc7f266366b7b7b6bbf121d10d36f1bad35 /src/yuzu/debugger/profiler.cpp | |
| parent | abda68f3a4e13f658fff0779927b0c7b0b24937f (diff) | |
| parent | cdfb3795afa7f9f86f1dca35a424b25115e10f37 (diff) | |
Merge pull request #9668 from Morph1984/qt-why-is-this-not-the-default
main: Globally disable the "?" button on dialogs
Diffstat (limited to 'src/yuzu/debugger/profiler.cpp')
| -rw-r--r-- | src/yuzu/debugger/profiler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cpp index d3e2d3c12..493ee0b17 100644 --- a/src/yuzu/debugger/profiler.cpp +++ b/src/yuzu/debugger/profiler.cpp @@ -49,9 +49,8 @@ MicroProfileDialog::MicroProfileDialog(QWidget* parent) : QWidget(parent, Qt::Di setObjectName(QStringLiteral("MicroProfile")); setWindowTitle(tr("&MicroProfile")); resize(1000, 600); - // Remove the "?" button from the titlebar and enable the maximize button - setWindowFlags((windowFlags() & ~Qt::WindowContextHelpButtonHint) | - Qt::WindowMaximizeButtonHint); + // Enable the maximize button + setWindowFlags(windowFlags() | Qt::WindowMaximizeButtonHint); #if MICROPROFILE_ENABLED |
