diff --git a/src/lockwidget.cpp b/src/lockwidget.cpp index 3d0d60a..9949706 100644 --- a/src/lockwidget.cpp +++ b/src/lockwidget.cpp @@ -625,9 +625,9 @@ void LockWidget::startAuth() if(authDialog) { authDialog->startAuth(); - if (isTableMode && !(vKeyboard && vKeyboard->isVisible())) { - showVirtualKeyboard(); - } +// if (isTableMode && !(vKeyboard && vKeyboard->isVisible())) { +// showVirtualKeyboard(); +// } } } @@ -803,9 +803,9 @@ void LockWidget::initUI() //监听物理键盘插拔 libswitch = new LibinputSwitchEvent; isTableMode = libswitch->geInitDevicesStatus(); - if(isTableMode && !(vKeyboard && vKeyboard->isVisible())) { - showVirtualKeyboard(); - } +// if(isTableMode && !(vKeyboard && vKeyboard->isVisible())) { +// showVirtualKeyboard(); +// } connect(libswitch , &LibinputSwitchEvent::tabletModeStatusChanged, this, [ = ](int tablet_mode) { isTableMode = tablet_mode; qInfo()<<"TableMode:"<getLineeditStatus()) { tabAt = LINEEDIT; authDialog->setFocusin(IN_LINEEDIT); - if (m_isShowKeyboard && isTableMode && !(vKeyboard && vKeyboard->isVisible())) { - showVirtualKeyboard(); - } +// if (m_isShowKeyboard && isTableMode && !(vKeyboard && vKeyboard->isVisible())) { +// showVirtualKeyboard(); +// } } else { tabAt = MESSAGEBTN; authDialog->setFocusin(ON_MESSAGEBTN);