Lock func merge
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user