mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinQt: Remove Windows dialog help buttons
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user