History

Fix format

Konstantin committed 12 years ago

Commit d489e9d1 parent 6d1f4ed1 file · +4 −5Browse files

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

Unified · Split

interface/src/Application.cpp+4−5
@@ -3552,11 +3552,11 @@ void Application::takeSnapshot() { · 3551 unmodified lines
3552}3552}
3553 3553
3554void Application::urlGoTo(int argc, const char * constArgv[]) {3554void Application::urlGoTo(int argc, const char * constArgv[]) {
3555 //Gets the url (hifi://domain/destination/orientation)3555 //Gets the url (hifi://domain/destination/orientation)
3556 QString customUrl = getCmdOption(argc, constArgv, "-url");3556 QString customUrl = getCmdOption(argc, constArgv, "-url");
3557 3557
3558 if (customUrl.startsWith("hifi://")) {3558 if (customUrl.startsWith("hifi://")) {
3559 QStringList urlParts = customUrl.remove(0, CUSTOM_URL_SCHEME.length() + 2).split('/', QString::SkipEmptyParts);3559 QStringList urlParts = customUrl.remove(0, CUSTOM_URL_SCHEME.length() + 2).split('/', QString::SkipEmptyParts);
3560 if (urlParts.count() > 1) {3560 if (urlParts.count() > 1) {
3561 // if url has 2 or more parts, the first one is domain name3561 // if url has 2 or more parts, the first one is domain name
3562 QString domain = urlParts[0];3562 QString domain = urlParts[0];
@@ -3583,6 +3583,5 @@ void Application::urlGoTo(int argc, const char * constArgv[]) { · 20 unmodified lines
3583 QString destination = urlParts[0];3583 QString destination = urlParts[0];
3584 Menu::goTo(destination);3584 Menu::goTo(destination);
3585 }3585 }
3586
3587 }3586 }
3588}3587}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t