Remove dead code from tst_qwineventnotifier.cpp

The idx member of EventWithNotifier is unused.

Change-Id: I0f5aacaaad4b4e82c57ff7bb020586944014f139
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Joerg Bornemann 2018-01-24 08:02:55 +01:00
parent 7d6bf37049
commit 91732818e5

View File

@ -109,9 +109,6 @@ public:
this, &EventWithNotifier::onNotifierActivated);
notifier.setHandle(CreateEvent(0, TRUE, FALSE, 0));
notifier.setEnabled(true);
static int nextIndex = 0;
idx = nextIndex++;
}
~EventWithNotifier()
@ -137,7 +134,6 @@ public slots:
private:
QWinEventNotifier notifier;
int activatedCount = 0;
int idx = 0;
};
void tst_QWinEventNotifier::manyNotifiers()