mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:58:22 +02:00
Merge pull request #15287 from NissimHadar/21893-enableTheUrlCommandLineParameterOnAndroid
Case 21893: Remove disabling of --url for Android.
This commit is contained in:
commit
facf8a9305
1 changed files with 0 additions and 4 deletions
|
@ -3736,14 +3736,11 @@ 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)
|
|
||||||
DependencyManager::get<AddressManager>()->goToEntry();
|
DependencyManager::get<AddressManager>()->goToEntry();
|
||||||
sentTo = SENT_TO_ENTRY;
|
sentTo = SENT_TO_ENTRY;
|
||||||
#endif
|
|
||||||
_firstRun.set(false);
|
_firstRun.set(false);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
#if !defined(Q_OS_ANDROID)
|
|
||||||
QString goingTo = "";
|
QString goingTo = "";
|
||||||
if (addressLookupString.isEmpty()) {
|
if (addressLookupString.isEmpty()) {
|
||||||
if (Menu::getInstance()->isOptionChecked(MenuOption::HomeLocation)) {
|
if (Menu::getInstance()->isOptionChecked(MenuOption::HomeLocation)) {
|
||||||
|
@ -3757,7 +3754,6 @@ void Application::handleSandboxStatus(QNetworkReply* reply) {
|
||||||
qCDebug(interfaceapp) << "Not first run... going to" << qPrintable(!goingTo.isEmpty() ? goingTo : addressLookupString);
|
qCDebug(interfaceapp) << "Not first run... going to" << qPrintable(!goingTo.isEmpty() ? goingTo : addressLookupString);
|
||||||
DependencyManager::get<AddressManager>()->loadSettings(addressLookupString);
|
DependencyManager::get<AddressManager>()->loadSettings(addressLookupString);
|
||||||
sentTo = SENT_TO_PREVIOUS_LOCATION;
|
sentTo = SENT_TO_PREVIOUS_LOCATION;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UserActivityLogger::getInstance().logAction("startup_sent_to", {
|
UserActivityLogger::getInstance().logAction("startup_sent_to", {
|
||||||
|
|
Loading…
Reference in a new issue