QKeySequenceEdit: cleanup unused member variable
Change-Id: Ib1197aee7589be0afd0c639b362bf1c3fceffeb4 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
f04b46f34e
commit
c66d42f972
@ -59,7 +59,7 @@ void QKeySequenceEditPrivate::init()
|
||||
prevKey = -1;
|
||||
releaseTimer = 0;
|
||||
|
||||
layout = new QVBoxLayout(q);
|
||||
QVBoxLayout *layout = new QVBoxLayout(q);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(lineEdit);
|
||||
|
||||
|
@ -52,7 +52,6 @@ QT_BEGIN_NAMESPACE
|
||||
#ifndef QT_NO_KEYSEQUENCEEDIT
|
||||
|
||||
class QLineEdit;
|
||||
class QVBoxLayout;
|
||||
|
||||
class QKeySequenceEditPrivate : public QWidgetPrivate
|
||||
{
|
||||
@ -66,7 +65,6 @@ public:
|
||||
void finishEditing();
|
||||
|
||||
QLineEdit *lineEdit;
|
||||
QVBoxLayout *layout;
|
||||
QKeySequence keySequence;
|
||||
int keyNum;
|
||||
int key[MaxKeyCount];
|
||||
|
Loading…
Reference in New Issue
Block a user