tst_QLineEdit: fix -Wsuggest-override

Amends 8afe4faf29.

Pick-to: 6.6 6.5
Change-Id: If2b87f8db3e1a60ff5f5d34c68b3ecd45ff25f96
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Marc Mutz 2023-07-13 11:57:46 +02:00
parent 96d67da420
commit 3ad359d44f

View File

@ -5162,7 +5162,7 @@ void tst_QLineEdit::keyReleasePropagates()
}
protected:
void keyReleaseEvent(QKeyEvent *e)
void keyReleaseEvent(QKeyEvent *e) override
{
releasedKey = e->key();
}