mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
revision
This commit is contained in:
parent
c4bffaf7e2
commit
bf091c3801
1 changed files with 2 additions and 2 deletions
|
|
@ -94,8 +94,8 @@ QVariant QT::connectDocumentChanged(const QVariant& vDocument, const QVariant& v
|
|||
|
||||
#ifdef Q_OS_IOS
|
||||
QVariant QT::connectKeyPressed() {
|
||||
EventFilterApp* sender = static_cast<EventFilterApp*>(qGuiApp);
|
||||
connect(sender, &EventFilterApp::keyPressed,
|
||||
GuiApplication* sender = static_cast<GuiApplication*>(qGuiApp);
|
||||
connect(sender, &GuiApplication::keyPressed,
|
||||
[](const QString& key, const QString& objectName) {
|
||||
ecl_fun("editor:key-pressed", key, objectName);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue