mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 13:56:24 +02:00
use two dashes for url as command line option
This commit is contained in:
parent
bd4a32551b
commit
eb7ee36168
1 changed files with 2 additions and 2 deletions
|
@ -304,8 +304,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
|||
connect(&addressManager, &AddressManager::possibleDomainChangeRequired,
|
||||
this, &Application::changeDomainHostname);
|
||||
|
||||
// when -url in command line, teleport to location
|
||||
addressManager.handleLookupString(getCmdOption(argc, constArgv, "-url"));
|
||||
// when --url in command line, teleport to location
|
||||
addressManager.handleLookupString(getCmdOption(argc, constArgv, "--url"));
|
||||
|
||||
_settings = new QSettings(this);
|
||||
_numChangedSettings = 0;
|
||||
|
|
Loading…
Reference in a new issue