mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-09 12:00:32 -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
|
// USB
|
||||||
|
|
||||||
|
static QT* instance() {
|
||||||
|
return QT::_this;
|
||||||
|
}
|
||||||
|
|
||||||
static void javaUsbDeviceAttached(JNIEnv*, jobject) { // see Java
|
static void javaUsbDeviceAttached(JNIEnv*, jobject) { // see Java
|
||||||
QMetaObject::invokeMethod(QT::_this, "usbDeviceAttached");
|
// run on Qt thread
|
||||||
|
QMetaObject::invokeMethod(
|
||||||
|
instance(),
|
||||||
|
"usbDeviceAttached");
|
||||||
}
|
}
|
||||||
|
|
||||||
void QT::usbDeviceAttached() {
|
void QT::usbDeviceAttached() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue