History

use QHostInfo and QHostAddress for DS changes in NodeList

Stephen Birarda committed 13 years ago

Commit ab85c411 parent d6a8a4e10 files · +87 −113Browse files

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

Unified · Split

interface/src/Application.cpp+3−3
@@ -183,9 +183,9 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 182 unmodified lines
183183 // --domain or --local options
184184 NodeList::getInstance()->loadData(_settings);
185185
186− const char* domainIP = getCmdOption(argc, constArgv, "--domain");
187− if (domainIP) {
188− NodeList::getInstance()->setDomainIP(domainIP);
186+ const char* domainHostname = getCmdOption(argc, constArgv, "--domain");
187+ if (domainHostname) {
188+ NodeList::getInstance()->setDomainHostname(domainHostname);
189189 }
190190
191191 // Handle Local Domain testing with the --local command line

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