QKeySequenceEdit: give nested line edit an objectName

People request this, and other widgets do this, too (say, QSpinBox).

Change-Id: I275537fb82b805b0dcb8edba87b8e234985f8d1f
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
bb10
Marc Mutz 2013-11-09 17:31:32 +01:00 committed by The Qt Project
parent 944fe9b8bc
commit 9af6fd5d8a
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ void QKeySequenceEditPrivate::init()
Q_Q(QKeySequenceEdit);
lineEdit = new QLineEdit(q);
lineEdit->setObjectName(QStringLiteral("qt_keysequenceedit_lineedit"));
keyNum = 0;
prevKey = -1;
releaseTimer = 0;