diff options
| author | Dentomologist <dentomologist@gmail.com> | 2021-08-21 10:35:21 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2021-08-21 10:53:12 -0700 |
| commit | 87924f2ddd0060281fbfa3d08cfb41428d68ca28 (patch) | |
| tree | 8abf95c7223d550d67a2ce2bceee360cecb56410 /Source/Core/DolphinQt/Debugger/WatchWidget.cpp | |
| parent | 17a01c894b7720e141c13638af639169a3c66f4b (diff) | |
DolphinQt: Remove Windows dialog help buttons
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/WatchWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/WatchWidget.cpp | 6 |
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) { |
