History

Remove disabling of --url for Android.

NissimHadar committed 7 years ago

Commit 171aebd1 parent 73cf5111 file · +0 −4Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+0−4
@@ -3722,14 +3722,11 @@ void Application::handleSandboxStatus(QNetworkReply* reply) { · 3721 unmodified lines
3722 3722
3723 // If this is a first run we short-circuit the address passed in3723 // If this is a first run we short-circuit the address passed in
3724 if (_firstRun.get()) {3724 if (_firstRun.get()) {
3725#if !defined(Q_OS_ANDROID)
3726 DependencyManager::get<AddressManager>()->goToEntry();3725 DependencyManager::get<AddressManager>()->goToEntry();
3727 sentTo = SENT_TO_ENTRY;3726 sentTo = SENT_TO_ENTRY;
3728#endif
3729 _firstRun.set(false);3727 _firstRun.set(false);
3730 3728
3731 } else {3729 } else {
3732#if !defined(Q_OS_ANDROID)
3733 QString goingTo = "";3730 QString goingTo = "";
3734 if (addressLookupString.isEmpty()) {3731 if (addressLookupString.isEmpty()) {
3735 if (Menu::getInstance()->isOptionChecked(MenuOption::HomeLocation)) {3732 if (Menu::getInstance()->isOptionChecked(MenuOption::HomeLocation)) {
@@ -3743,7 +3740,6 @@ void Application::handleSandboxStatus(QNetworkReply* reply) { · 7 unmodified lines
3743 qCDebug(interfaceapp) << "Not first run... going to" << qPrintable(!goingTo.isEmpty() ? goingTo : addressLookupString);3740 qCDebug(interfaceapp) << "Not first run... going to" << qPrintable(!goingTo.isEmpty() ? goingTo : addressLookupString);
3744 DependencyManager::get<AddressManager>()->loadSettings(addressLookupString);3741 DependencyManager::get<AddressManager>()->loadSettings(addressLookupString);
3745 sentTo = SENT_TO_PREVIOUS_LOCATION;3742 sentTo = SENT_TO_PREVIOUS_LOCATION;
3746#endif
3747 }3743 }
3748 3744
3749 UserActivityLogger::getInstance().logAction("startup_sent_to", {3745 UserActivityLogger::getInstance().logAction("startup_sent_to", {