From cfc76de73cecd5c569cbec280fe8aaa680956df3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2019 22:57:29 +0900 Subject: Removed dummy int parameter from TQVariant(bool, int). Signed-off-by: Michele Calgaro --- src/widgets/qdialogbuttons.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/qdialogbuttons.cpp') diff --git a/src/widgets/qdialogbuttons.cpp b/src/widgets/qdialogbuttons.cpp index c248d2e00..fd3d5c4c8 100644 --- a/src/widgets/qdialogbuttons.cpp +++ b/src/widgets/qdialogbuttons.cpp @@ -185,12 +185,12 @@ TQDialogButtons::setDefaultButton(Button button) if(d->def != button) { #ifndef TQT_NO_PROPERTIES if(d->buttons.contains(d->def)) - d->buttons[d->def]->setProperty("default", TQVariant(FALSE,0)); + d->buttons[d->def]->setProperty("default", TQVariant(false)); #endif d->def = button; #ifndef TQT_NO_PROPERTIES if(d->buttons.contains(d->def)) - d->buttons[d->def]->setProperty("default", TQVariant(FALSE,0)); + d->buttons[d->def]->setProperty("default", TQVariant(false)); #endif } } @@ -413,7 +413,7 @@ TQDialogButtons::layoutButtons() if(b == d->def) { w->setFocus(); #ifndef TQT_NO_PROPERTIES - w->setProperty("default", TQVariant(TRUE,0)); + w->setProperty("default", TQVariant(true)); #endif } w->setEnabled(d->enabled & b); -- cgit v1.2.1