Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -304,8 +304,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 303 unmodified lines | ||
| 304 | 304 | connect(&addressManager, &AddressManager::possibleDomainChangeRequired, |
| 305 | 305 | this, &Application::changeDomainHostname); |
| 306 | 306 | |
| 307 | − // when -url in command line, teleport to location | |
| 308 | − addressManager.handleLookupString(getCmdOption(argc, constArgv, "-url")); | |
| 307 | + // when --url in command line, teleport to location | |
| 308 | + addressManager.handleLookupString(getCmdOption(argc, constArgv, "--url")); | |
| 309 | 309 | |
| 310 | 310 | _settings = new QSettings(this); |
| 311 | 311 | _numChangedSettings = 0; |