diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2010-09-10 09:01:44 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-09-10 09:03:08 (GMT) |
commit | 60bfb40e3c398163fe17834c26cdf97579946cc2 (patch) | |
tree | 3d7a29b1a5bc44c016e003a640ebdcf7378512c7 /tests | |
parent | 839e2ed4746d748df67570934a0be9e0a9cd0c3d (diff) | |
download | Qt-60bfb40e3c398163fe17834c26cdf97579946cc2.zip Qt-60bfb40e3c398163fe17834c26cdf97579946cc2.tar.gz Qt-60bfb40e3c398163fe17834c26cdf97579946cc2.tar.bz2 |
fix CRLF
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qlineedit/tst_qlineedit.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/qlineedit/tst_qlineedit.cpp b/tests/auto/qlineedit/tst_qlineedit.cpp index bfa9406..93bd447 100644 --- a/tests/auto/qlineedit/tst_qlineedit.cpp +++ b/tests/auto/qlineedit/tst_qlineedit.cpp @@ -3747,15 +3747,15 @@ void tst_QLineEdit::QTBUG697_paletteCurrentColorGroup() void tst_QLineEdit::QTBUG13520_textNotVisible() { LineEdit le; - le.setAlignment( Qt::AlignRight | Qt::AlignVCenter);
- le.show();
- QTest::qWaitForWindowShown(&le);
- le.setText("01-ST16-01SIL-MPL001wfgsdfgsdgsdfgsdfgsdfgsdfgsdfg");
- le.setCursorPosition(0);
- QTest::qWait(100); //just make sure we get he lineedit correcly painted
-
- QVERIFY(le.cursorRect().center().x() < le.width() / 2);
-
+ le.setAlignment( Qt::AlignRight | Qt::AlignVCenter); + le.show(); + QTest::qWaitForWindowShown(&le); + le.setText("01-ST16-01SIL-MPL001wfgsdfgsdgsdfgsdfgsdfgsdfgsdfg"); + le.setCursorPosition(0); + QTest::qWait(100); //just make sure we get he lineedit correcly painted + + QVERIFY(le.cursorRect().center().x() < le.width() / 2); + } |