aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/profiler.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-01-25 17:56:58 -0500
committerGitHub <noreply@github.com>2023-01-25 17:56:58 -0500
commit4ec50dfd4ffc7b2508fa57df8aee510ac0d20447 (patch)
tree17927bc7f266366b7b7b6bbf121d10d36f1bad35 /src/yuzu/debugger/profiler.cpp
parentabda68f3a4e13f658fff0779927b0c7b0b24937f (diff)
parentcdfb3795afa7f9f86f1dca35a424b25115e10f37 (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.cpp5
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