mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
clean up
This commit is contained in:
parent
f04fdb2187
commit
9c833f7e64
2 changed files with 2 additions and 5 deletions
|
@ -51,15 +51,13 @@ public class OculusMobileActivity extends QtActivity implements SurfaceHolder.Ca
|
||||||
nativeOnCreate();
|
nativeOnCreate();
|
||||||
questNativeOnCreate();
|
questNativeOnCreate();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onAppLoadedComplete() {
|
public void onAppLoadedComplete() {
|
||||||
Log.w(TAG, "QQQ Load Completed");
|
Log.w(TAG, "QQQ Load Completed");
|
||||||
runOnUiThread(() -> {
|
runOnUiThread(() -> {
|
||||||
setContentView(mView);
|
setContentView(mView);
|
||||||
questOnAppAfterLoad();
|
questOnAppAfterLoad();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -93,7 +91,6 @@ public class OculusMobileActivity extends QtActivity implements SurfaceHolder.Ca
|
||||||
questNativeOnPause();
|
questNativeOnPause();
|
||||||
nativeOnPause();
|
nativeOnPause();
|
||||||
isPausing=true;
|
isPausing=true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -9166,7 +9166,7 @@ void Application::enterForeground() {
|
||||||
|
|
||||||
|
|
||||||
void Application::toggleAwayMode(){
|
void Application::toggleAwayMode(){
|
||||||
QKeyEvent event = QKeyEvent (QEvent::KeyPress, Qt::Key_Escape, Qt::NoModifier);
|
QKeyEvent event = QKeyEvent (QEvent::KeyPress, Qt::Key_Escape, Qt::NoModifier);
|
||||||
QCoreApplication::sendEvent (this, &event);
|
QCoreApplication::sendEvent (this, &event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue