mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 11:42:51 +02:00
Don't show help on android. Hide menu bar
This commit is contained in:
parent
8093ed7c5c
commit
917cbd73b1
2 changed files with 5 additions and 0 deletions
|
@ -2826,7 +2826,9 @@ void Application::handleSandboxStatus(QNetworkReply* reply) {
|
||||||
|
|
||||||
// If this is a first run we short-circuit the address passed in
|
// If this is a first run we short-circuit the address passed in
|
||||||
if (firstRun.get()) {
|
if (firstRun.get()) {
|
||||||
|
#if !defined(Q_OS_ANDROID)
|
||||||
showHelp();
|
showHelp();
|
||||||
|
#endif
|
||||||
if (sandboxIsRunning) {
|
if (sandboxIsRunning) {
|
||||||
qCDebug(interfaceapp) << "Home sandbox appears to be running, going to Home.";
|
qCDebug(interfaceapp) << "Home sandbox appears to be running, going to Home.";
|
||||||
DependencyManager::get<AddressManager>()->goToLocalSandbox();
|
DependencyManager::get<AddressManager>()->goToLocalSandbox();
|
||||||
|
|
|
@ -72,6 +72,9 @@ void Basic2DWindowOpenGLDisplayPlugin::uncustomizeContext() {
|
||||||
|
|
||||||
bool Basic2DWindowOpenGLDisplayPlugin::internalActivate() {
|
bool Basic2DWindowOpenGLDisplayPlugin::internalActivate() {
|
||||||
_framerateActions.clear();
|
_framerateActions.clear();
|
||||||
|
#if defined(Q_OS_ANDROID)
|
||||||
|
_container->setFullscreen(nullptr, true);
|
||||||
|
#endif
|
||||||
_container->addMenuItem(PluginType::DISPLAY_PLUGIN, MENU_PATH(), FULLSCREEN,
|
_container->addMenuItem(PluginType::DISPLAY_PLUGIN, MENU_PATH(), FULLSCREEN,
|
||||||
[this](bool clicked) {
|
[this](bool clicked) {
|
||||||
if (clicked) {
|
if (clicked) {
|
||||||
|
|
Loading…
Reference in a new issue