mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
DolphinQt: Remove Windows dialog help buttons
This commit is contained in:
parent
17a01c894b
commit
87924f2ddd
4 changed files with 37 additions and 24 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue