diff --git a/src/wpawifidialog.cpp b/src/wpawifidialog.cpp index 497414b4..23d4f719 100644 --- a/src/wpawifidialog.cpp +++ b/src/wpawifidialog.cpp @@ -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; diff --git a/src/wpawifidialog.h b/src/wpawifidialog.h index 0058f34c..7f8759c0 100644 --- a/src/wpawifidialog.h +++ b/src/wpawifidialog.h @@ -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;