diff options
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/qdialogbuttons.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |