Fix bug configure window of enterprise wifi exist when press Enter key on keyboard
This commit is contained in:
parent
c18cac4293
commit
226a7320ac
|
@ -660,6 +660,11 @@ void WpaWifiDialog::mouseMoveEvent(QMouseEvent *event)
|
|||
return QDialog::mouseMoveEvent(event);
|
||||
}
|
||||
|
||||
void WpaWifiDialog::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
//return QDialog::keyPressEvent(event);
|
||||
}
|
||||
|
||||
void WpaWifiDialog::paintEvent(QPaintEvent *event)
|
||||
{
|
||||
KylinDBus mkylindbus;
|
||||
|
|
|
@ -84,6 +84,7 @@ private:
|
|||
void mousePressEvent(QMouseEvent *event);
|
||||
void mouseReleaseEvent(QMouseEvent *event);
|
||||
void mouseMoveEvent(QMouseEvent *event);
|
||||
void keyPressEvent(QKeyEvent *event);
|
||||
|
||||
bool isPress;
|
||||
QPoint winPos;
|
||||
|
|
Loading…
Reference in New Issue