summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2021-08-24 08:34:31 -0400
committerGitHub <noreply@github.com>2021-08-24 08:34:31 -0400
commit7688db3cd31279bfe01152fc9ce6bc7a489237c1 (patch)
tree581ec072d0b52d07f809a19a56fec7a5563ce2bd /Source/Core/DolphinQt/Debugger/WatchWidget.cpp
parent922f53e16ecdb2fe88546df03d8f184837510836 (diff)
parent87924f2ddd0060281fbfa3d08cfb41428d68ca28 (diff)
Merge pull request #10047 from Dentomologist/remove_windows_help_buttons
DolphinQt: Remove Windows dialog help buttons
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/WatchWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/WatchWidget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
index 9d1ae245a2..870c3c3665 100644
--- a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp
@@ -250,9 +250,11 @@ void WatchWidget::OnClear()
void WatchWidget::OnNewWatch()
{
- QString text = QInputDialog::getText(this, tr("Input"), tr("Enter address to watch:"));
+ const QString text =
+ QInputDialog::getText(this, tr("Input"), tr("Enter address to watch:"), QLineEdit::Normal,
+ QString{}, nullptr, Qt::WindowCloseButtonHint);
bool good;
- uint address = text.toUInt(&good, 16);
+ const uint address = text.toUInt(&good, 16);
if (!good)
{