Remove QGraphicsView autotest that doesn't test anything

It sends a shortcut override event directly, which should go
though QPA anyways.

Change-Id: Ie2c6f45cd44222cd9be8846099573dcd2968a77c
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
bb10
Tor Arne Vestbø 2015-09-14 16:21:53 +02:00
parent 8888eae0d3
commit 0a1206a8b2
1 changed files with 0 additions and 9 deletions

View File

@ -255,7 +255,6 @@ private slots:
void task186827_deleteReplayedItem();
void task207546_focusCrash();
void task210599_unsetDragWhileDragging();
void task236394_sendShortcutOverrideEvent();
void task239729_noViewUpdate_data();
void task239729_noViewUpdate();
void task239047_fitInViewSmallViewport();
@ -3369,14 +3368,6 @@ void tst_QGraphicsView::task210599_unsetDragWhileDragging()
QCOMPARE(basePos, view.mapFromScene(0, 0));
}
void tst_QGraphicsView::task236394_sendShortcutOverrideEvent()
{
QGraphicsView view;
view.show();
QKeyEvent event(QEvent::ShortcutOverride, Qt::Key_A, 0, QString("A"));
QApplication::sendEvent(&view, &event);
}
class ChangedListener : public QObject
{
Q_OBJECT