summaryrefslogtreecommitdiffstats
path: root/tests/auto/qspinbox
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-11-27 08:26:33 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-11-27 08:26:33 (GMT)
commit9401bfd65309da360df6c2bda5f910b1507e7888 (patch)
treefe8f9f969d6926fb0888e72f0713ce0d6e610d20 /tests/auto/qspinbox
parent167c64017622b34d67075f1203f3e06ceed70749 (diff)
downloadQt-9401bfd65309da360df6c2bda5f910b1507e7888.zip
Qt-9401bfd65309da360df6c2bda5f910b1507e7888.tar.gz
Qt-9401bfd65309da360df6c2bda5f910b1507e7888.tar.bz2
Fixed non-compiling Q*SpinBox auto-tests
Reviewed-by: Olivier
Diffstat (limited to 'tests/auto/qspinbox')
-rw-r--r--tests/auto/qspinbox/tst_qspinbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qspinbox/tst_qspinbox.cpp b/tests/auto/qspinbox/tst_qspinbox.cpp
index d2fe2ac..655de15 100644
--- a/tests/auto/qspinbox/tst_qspinbox.cpp
+++ b/tests/auto/qspinbox/tst_qspinbox.cpp
@@ -1010,7 +1010,6 @@ void tst_QSpinBox::taskQTBUG_5008_textFromValueAndValidate()
{
class DecoratedSpinBox : public QSpinBox
{
- friend class tst_QSpinBox;
public:
DecoratedSpinBox()
{
@@ -1024,6 +1023,8 @@ void tst_QSpinBox::taskQTBUG_5008_textFromValueAndValidate()
{
return locale().toString(value);
}
+
+ using QSpinBox::lineEdit;
} spinbox;
spinbox.show();
spinbox.activateWindow();