mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
revisions regarding iOS and latest Xcode
This commit is contained in:
parent
8b24889bcd
commit
a64e53bb59
4 changed files with 4 additions and 9 deletions
|
|
@ -94,16 +94,16 @@ QVariant QT::connectDocumentChanged(const QVariant& vDocument, const QVariant& v
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef Q_OS_IOS
|
||||
QVariant QT::connectKeyPressed() {
|
||||
#ifdef Q_OS_IOS
|
||||
GuiApplication* sender = static_cast<GuiApplication*>(qGuiApp);
|
||||
connect(sender, &GuiApplication::keyPressed,
|
||||
[](const QString& key, const QString& objectName) {
|
||||
ecl_fun("editor:key-pressed", key, objectName);
|
||||
});
|
||||
#endif
|
||||
return QVariant();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue