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);
|
return QDialog::mouseMoveEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void WpaWifiDialog::keyPressEvent(QKeyEvent *event)
|
||||||
|
{
|
||||||
|
//return QDialog::keyPressEvent(event);
|
||||||
|
}
|
||||||
|
|
||||||
void WpaWifiDialog::paintEvent(QPaintEvent *event)
|
void WpaWifiDialog::paintEvent(QPaintEvent *event)
|
||||||
{
|
{
|
||||||
KylinDBus mkylindbus;
|
KylinDBus mkylindbus;
|
||||||
|
|
|
@ -84,6 +84,7 @@ private:
|
||||||
void mousePressEvent(QMouseEvent *event);
|
void mousePressEvent(QMouseEvent *event);
|
||||||
void mouseReleaseEvent(QMouseEvent *event);
|
void mouseReleaseEvent(QMouseEvent *event);
|
||||||
void mouseMoveEvent(QMouseEvent *event);
|
void mouseMoveEvent(QMouseEvent *event);
|
||||||
|
void keyPressEvent(QKeyEvent *event);
|
||||||
|
|
||||||
bool isPress;
|
bool isPress;
|
||||||
QPoint winPos;
|
QPoint winPos;
|
||||||
|
|
Loading…
Reference in New Issue