mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 18:40:56 -08:00
revision
This commit is contained in:
parent
21bde7c8e7
commit
08a888389d
1 changed files with 8 additions and 1 deletions
|
|
@ -109,8 +109,15 @@ QVariant QT::lastPosition() {
|
|||
|
||||
// USB
|
||||
|
||||
static QT* instance() {
|
||||
return QT::_this;
|
||||
}
|
||||
|
||||
static void javaUsbDeviceAttached(JNIEnv*, jobject) { // see Java
|
||||
QMetaObject::invokeMethod(QT::_this, "usbDeviceAttached");
|
||||
// run on Qt thread
|
||||
QMetaObject::invokeMethod(
|
||||
instance(),
|
||||
"usbDeviceAttached");
|
||||
}
|
||||
|
||||
void QT::usbDeviceAttached() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue