summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-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)