summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-12 12:23:07 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-12 12:23:07 (GMT)
commitc847301367e58282893365d68cee3aa90b7588e4 (patch)
tree3cd9dc4b8461bd5c47b8bef1e973025cc422e311 /tests
parent693b34e8c8d434fd4cde6bfd5f4944e6f9283532 (diff)
downloadQt-c847301367e58282893365d68cee3aa90b7588e4.zip
Qt-c847301367e58282893365d68cee3aa90b7588e4.tar.gz
Qt-c847301367e58282893365d68cee3aa90b7588e4.tar.bz2
indentation fixed in tst_QWidget::inputFocus_task257832
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index 73c0797..ab29c35 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -8968,16 +8968,16 @@ void tst_QWidget::toplevelLineEditFocus()
void tst_QWidget::inputFocus_task257832()
{
- QLineEdit *widget = new QLineEdit;
- QInputContext *context = widget->inputContext();
- if (!context)
- QSKIP("No input context", SkipSingle);
- widget->setFocus();
- context->setFocusWidget(widget);
- QCOMPARE(context->focusWidget(), widget);
- widget->setReadOnly(true);
- QVERIFY(!context->focusWidget());
- delete widget;
+ QLineEdit *widget = new QLineEdit;
+ QInputContext *context = widget->inputContext();
+ if (!context)
+ QSKIP("No input context", SkipSingle);
+ widget->setFocus();
+ context->setFocusWidget(widget);
+ QCOMPARE(context->focusWidget(), widget);
+ widget->setReadOnly(true);
+ QVERIFY(!context->focusWidget());
+ delete widget;
}
QTEST_MAIN(tst_QWidget)