Lock func merge

This commit is contained in:
Krad
2021-11-23 17:16:31 +08:00
parent f226f57fb7
commit a9a0aad00f
4 changed files with 25 additions and 10 deletions

View File

@@ -85,6 +85,11 @@ void InputObject::initUi()
bool InputObject::eventFilter(QObject* obj, QEvent* event)
{
if (event->type() == QEvent::MouseButtonPress)
{
emit touchScreen();
qDebug() << "touchScreen()";
}
//mouse button release means setfocus is useless
if (event->type() == QEvent::MouseButtonRelease)
{