summaryrefslogtreecommitdiff
path: root/tests/auto/qdatetimeedit
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 14:02:56 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 14:30:41 +0300
commitcd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf (patch)
tree39fa997e3391ffdcc24cdf96ea0c0b5b62391a99 /tests/auto/qdatetimeedit
parent4b07c9d95087cc69956bfe309cd9b4eec26235ec (diff)
downloadqt4-tools-cd10d1a8dbb3b77c2d4e9c389e134b1f3cc3c2cf.tar.gz
Trailing whitespace and tab/space fixes for auto tests
Diffstat (limited to 'tests/auto/qdatetimeedit')
-rw-r--r--tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp b/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
index 55dd85caee..e5cb4486a8 100644
--- a/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
+++ b/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
@@ -2216,12 +2216,12 @@ void tst_QDateTimeEdit::mousePress()
// Ask the SC_SpinBoxUp button location from style
QStyleOptionSpinBox so;
- so.rect = testWidget->rect();
+ so.rect = testWidget->rect();
QRect rectUp = testWidget->style()->subControlRect(QStyle::CC_SpinBox, &so, QStyle::SC_SpinBoxUp, testWidget);
-
+
// Send mouseClick to center of SC_SpinBoxUp
QTest::mouseClick(testWidget, Qt::LeftButton, 0, rectUp.center());
- QCOMPARE(testWidget->date().year(), 2005);
+ QCOMPARE(testWidget->date().year(), 2005);
}