optimize debug console
This commit is contained in:
@@ -89,7 +89,7 @@ bool InputObject::eventFilter(QObject* obj, QEvent* event)
|
||||
{
|
||||
emit touchScreen();
|
||||
|
||||
qDebug() << "touchScreen()";
|
||||
//qDebug() << "touchScreen()";
|
||||
}
|
||||
//mouse button release means setfocus is useless
|
||||
if (event->type() == QEvent::MouseButtonRelease)
|
||||
@@ -141,7 +141,7 @@ bool InputObject::eventFilter(QObject* obj, QEvent* event)
|
||||
}
|
||||
|
||||
void InputObject::ShowPanel() {
|
||||
if (!qApp->focusWidget()) return;
|
||||
if (!qApp->focusWidget()) return;
|
||||
if (qApp->focusWidget()->inherits("QLineEdit"))
|
||||
{
|
||||
curLine = qobject_cast<QLineEdit*>(qApp->focusWidget());
|
||||
|
||||
Reference in New Issue
Block a user