summaryrefslogtreecommitdiffstats
path: root/src/widgets/qdialogbuttons.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-05-23 22:57:29 +0900
committerMichele Calgaro <[email protected]>2019-05-23 22:57:29 +0900
commitcfc76de73cecd5c569cbec280fe8aaa680956df3 (patch)
tree294561f215a17658f23eac128312542ab30721f1 /src/widgets/qdialogbuttons.cpp
parente9567cacadf2fdc305f3ddbebce43ef395368c51 (diff)
downloadtqt3-cfc76de73cecd5c569cbec280fe8aaa680956df3.tar.gz
tqt3-cfc76de73cecd5c569cbec280fe8aaa680956df3.zip
Removed dummy int parameter from TQVariant(bool, int).
Signed-off-by: Michele Calgaro <[email protected]>
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 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);