summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-11-27 13:55:46 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-11-27 13:55:46 (GMT)
commit72f18a740519de52dc493e7f7680b21d74c94c5c (patch)
tree919e534089dd7169172da519ccea8fd6d1c70dbf /tests
parent1355eb52ce21a0bbdb1899ef283fb6e58d389213 (diff)
downloadQt-72f18a740519de52dc493e7f7680b21d74c94c5c.zip
Qt-72f18a740519de52dc493e7f7680b21d74c94c5c.tar.gz
Qt-72f18a740519de52dc493e7f7680b21d74c94c5c.tar.bz2
compile fix for autotest
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qspinbox/tst_qspinbox.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qspinbox/tst_qspinbox.cpp b/tests/auto/qspinbox/tst_qspinbox.cpp
index 655de15..b5e37f2 100644
--- a/tests/auto/qspinbox/tst_qspinbox.cpp
+++ b/tests/auto/qspinbox/tst_qspinbox.cpp
@@ -1018,13 +1018,17 @@ void tst_QSpinBox::taskQTBUG_5008_textFromValueAndValidate()
setValue(1000000);
}
+ QLineEdit *lineEdit() const
+ {
+ return QSpinBox::lineEdit();
+ }
+
//we use the French delimiters here
QString textFromValue (int value) const
{
return locale().toString(value);
}
- using QSpinBox::lineEdit;
} spinbox;
spinbox.show();
spinbox.activateWindow();