mirror of
https://github.com/lubosz/overte.git
synced 2025-04-15 19:47:38 +02:00
Use custom default location for android and GLES/Windows
This commit is contained in:
parent
8cb0d0f8fd
commit
fb559f3e4a
1 changed files with 6 additions and 0 deletions
|
@ -104,11 +104,17 @@ QUrl AddressManager::currentFacingShareableAddress() const {
|
|||
}
|
||||
|
||||
void AddressManager::loadSettings(const QString& lookupString) {
|
||||
#if defined(USE_GLES) && defined(Q_OS_WIN)
|
||||
handleUrl(QUrl("hifi://127.0.0.0"), LookupTrigger::StartupFromSettings);
|
||||
#elif defined(Q_OS_ANDROID)
|
||||
handleUrl(QUrl("hifi://dev-android"), LookupTrigger::StartupFromSettings);
|
||||
#else
|
||||
if (lookupString.isEmpty()) {
|
||||
handleUrl(currentAddressHandle.get(), LookupTrigger::StartupFromSettings);
|
||||
} else {
|
||||
handleUrl(lookupString, LookupTrigger::StartupFromSettings);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void AddressManager::goBack() {
|
||||
|
|
Loading…
Reference in a new issue