summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdialogbuttons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qdialogbuttons.cpp')
-rw-r--r--src/widgets/qdialogbuttons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/qdialogbuttons.cpp b/src/widgets/qdialogbuttons.cpp
index 39f6d67..07e09cf 100644
--- a/src/widgets/qdialogbuttons.cpp
+++ b/src/widgets/qdialogbuttons.cpp
@@ -185,12 +185,12 @@ QDialogButtons::setDefaultButton(Button button)
if(d->def != button) {
#ifndef QT_NO_PROPERTIES
if(d->buttons.contains(d->def))
- d->buttons[d->def]->setProperty("default", QVariant(FALSE,0));
+ d->buttons[d->def]->setProperty("default", QVariant(false));
#endif
d->def = button;
#ifndef QT_NO_PROPERTIES
if(d->buttons.contains(d->def))
- d->buttons[d->def]->setProperty("default", QVariant(FALSE,0));
+ d->buttons[d->def]->setProperty("default", QVariant(false));
#endif
}
}
@@ -413,7 +413,7 @@ QDialogButtons::layoutButtons()
if(b == d->def) {
w->setFocus();
#ifndef QT_NO_PROPERTIES
- w->setProperty("default", QVariant(TRUE,0));
+ w->setProperty("default", QVariant(true));
#endif
}
w->setEnabled(d->enabled & b);