DolphinQt: Remove Windows dialog help buttons

This commit is contained in:
Dentomologist committed 2021-08-21 10:53:12 -07:00
1 parent 17a01c894b
commit 87924f2ddd
4 files changed
+37 -24

No files matched your search

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