History

rename NodeList DomainInfo to DomainHandler

Stephen Birarda committed 12 years ago

Commit 62041d91 parent caf247311 files · +52 −52Browse files

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

Unified · Split

interface/src/Application.cpp+3−3
@@ -228,8 +228,8 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 227 unmodified lines
228228
229229 audioThread->start();
230230
231− connect(&nodeList->getDomainInfo(), SIGNAL(hostnameChanged(const QString&)), SLOT(domainChanged(const QString&)));
232− connect(&nodeList->getDomainInfo(), SIGNAL(connectedToDomain(const QString&)), SLOT(connectedToDomain(const QString&)));
231+ connect(&nodeList->getDomainHandler(), SIGNAL(hostnameChanged(const QString&)), SLOT(domainChanged(const QString&)));
232+ connect(&nodeList->getDomainHandler(), SIGNAL(connectedToDomain(const QString&)), SLOT(connectedToDomain(const QString&)));
233233
234234 connect(nodeList, &NodeList::nodeAdded, this, &Application::nodeAdded);
235235 connect(nodeList, &NodeList::nodeKilled, this, &Application::nodeKilled);
@@ -3279,7 +3279,7 @@ void Application::updateWindowTitle(){ · 3043 unmodified lines
32793279
32803280 QString username = AccountManager::getInstance().getUsername();
32813281 QString title = QString() + (!username.isEmpty() ? username + " " : QString()) + nodeList->getSessionUUID().toString()
3282− + " @ " + nodeList->getDomainInfo().getHostname() + buildVersion;
3282+ + " @ " + nodeList->getDomainHandler().getHostname() + buildVersion;
32833283
32843284 qDebug("Application title set to: %s", title.toStdString().c_str());
32853285 _window->setWindowTitle(title);

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