summaryrefslogtreecommitdiffstats
path: root/src/yuzu/debugger/profiler.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-01-25 07:11:20 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-01-25 07:12:50 +0100
commitcdfb3795afa7f9f86f1dca35a424b25115e10f37 (patch)
treef7d728acfb66a08c8e94aecf659bf9c279cb72fb /src/yuzu/debugger/profiler.cpp
parentMerge pull request #9662 from abouvier/cmake-llvm (diff)
downloadyuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar
yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.gz
yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.bz2
yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.lz
yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.xz
yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.zst
yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.zip
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