diff options
author | Michele Calgaro <[email protected]> | 2019-05-23 22:57:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-05-23 22:57:29 +0900 |
commit | cfc76de73cecd5c569cbec280fe8aaa680956df3 (patch) | |
tree | 294561f215a17658f23eac128312542ab30721f1 /src/widgets/qdialogbuttons.cpp | |
parent | e9567cacadf2fdc305f3ddbebce43ef395368c51 (diff) | |
download | tqt3-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.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); |