oops, adjust QKeyEvent contructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-05-12 17:25:01 +00:00
parent 1f1ff0f31e
commit 66fb75adeb

View file

@ -681,7 +681,7 @@ QWheelEvent::QWheelEvent(const QPoint &pos, const QPoint& globalPos, int delta,
in the event.
*/
QKeyEvent::QKeyEvent(Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text,
bool autorep, ushort count)
bool autorep, int count)
: QInputEvent(type, modifiers), txt(text), k(key), c(count), autor(autorep)
{
}