summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-06-08 11:28:23 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-06-08 12:54:39 (GMT)
commitd1a011fd63943b207b97bd0e50dcafe5de2119dc (patch)
treeb2f7a409b1f64ca86a4d3665058b280ce03359d2 /src
parentf18e6bc6cfdeae8eb171b8c64403c91295b7a1f0 (diff)
downloadQt-d1a011fd63943b207b97bd0e50dcafe5de2119dc.zip
Qt-d1a011fd63943b207b97bd0e50dcafe5de2119dc.tar.gz
Qt-d1a011fd63943b207b97bd0e50dcafe5de2119dc.tar.bz2
Change order of functions in QInputDialog::getDouble()
Fixes issue with decimals in the spinbox used for the double Task-number: 255502 Reviewed-by: mbm
Diffstat (limited to 'src')
-rw-r--r--src/gui/dialogs/qinputdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qinputdialog.cpp b/src/gui/dialogs/qinputdialog.cpp
index 8754324..b6bdf06 100644
--- a/src/gui/dialogs/qinputdialog.cpp
+++ b/src/gui/dialogs/qinputdialog.cpp
@@ -1250,9 +1250,9 @@ double QInputDialog::getDouble(QWidget *parent, const QString &title, const QStr
QInputDialog dialog(parent, flags);
dialog.setWindowTitle(title);
dialog.setLabelText(label);
+ dialog.setDoubleDecimals(decimals);
dialog.setDoubleRange(min, max);
dialog.setDoubleValue(value);
- dialog.setDoubleDecimals(decimals);
int ret = dialog.exec();
if (ok)