diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-27 13:58:01 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-27 13:58:01 (GMT) |
commit | 71c2cfee4bcd81b2552b66b676895dcd9a6a794b (patch) | |
tree | 9346aa5d5a028a1c24a6039a240f16bb54de9bee /tests | |
parent | 72f18a740519de52dc493e7f7680b21d74c94c5c (diff) | |
download | Qt-71c2cfee4bcd81b2552b66b676895dcd9a6a794b.zip Qt-71c2cfee4bcd81b2552b66b676895dcd9a6a794b.tar.gz Qt-71c2cfee4bcd81b2552b66b676895dcd9a6a794b.tar.bz2 |
compile fix for autotest
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qdoublespinbox/tst_qdoublespinbox.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/qdoublespinbox/tst_qdoublespinbox.cpp b/tests/auto/qdoublespinbox/tst_qdoublespinbox.cpp index 00ebed0..157c39d 100644 --- a/tests/auto/qdoublespinbox/tst_qdoublespinbox.cpp +++ b/tests/auto/qdoublespinbox/tst_qdoublespinbox.cpp @@ -1058,13 +1058,16 @@ void tst_QDoubleSpinBox::taskQTBUG_5008_textFromValueAndValidate() setValue(1000); } + QLineEdit *lineEdit() const + { + return QDoubleSpinBox::lineEdit(); + } + //we use the French delimiters here QString textFromValue (double value) const { return locale().toString(value); } - - using QDoubleSpinBox::lineEdit; } spinbox; spinbox.show(); spinbox.activateWindow(); |