| |   |
| 475 | 475 | QApplication::sendPostedEvents(); //glib workaround |
| 476 | 476 | #endif |
| 477 | 477 | |
| QCOMPARE(delegate->displayText, item->text()); |
| QTRY_COMPARE(delegate->displayText, item->text()); |
| 479 | 479 | if (properties.contains("italic")) { |
| 480 | 480 | QCOMPARE(delegate->displayFont.italic(), item->font().italic()); |
| 481 | 481 | } |
| … | … | |
| 1163 | 1163 | QCOMPARE(editor->hasFocus(), true); |
| 1164 | 1164 | |
| 1165 | 1165 | QDialog dialog; |
| QTimer::singleShot(100, &dialog, SLOT(close())); |
| QTimer::singleShot(500, &dialog, SLOT(close())); |
| 1167 | 1167 | dialog.exec(); |
| 1168 | 1168 | QTRY_VERIFY(!editor); |
| 1169 | 1169 | } |