DolphinQt: Remove Windows dialog help buttons

This commit is contained in:
Dentomologist
2021-08-21 10:35:21 -07:00
parent 17a01c894b
commit 87924f2ddd
4 changed files with 37 additions and 24 deletions

View File

@ -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)
{