History

add a DomainInfo class to hold domain information

Stephen Birarda committed 12 years ago

Commit 37f1f7b1 parent c9ade0511 files · +133 −100Browse files

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

Unified · Split

interface/src/Application.cpp+2−2
@@ -200,7 +200,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 199 unmodified lines
200200
201201 audioThread->start();
202202
203− connect(nodeList, SIGNAL(domainChanged(const QString&)), SLOT(domainChanged(const QString&)));
203+ connect(&nodeList->getDomainInfo(), SIGNAL(hostnameChanged(const QString&)), SLOT(domainChanged(const QString&)));
204204 connect(nodeList, &NodeList::nodeAdded, this, &Application::nodeAdded);
205205 connect(nodeList, &NodeList::nodeKilled, this, &Application::nodeKilled);
206206 connect(nodeList, SIGNAL(nodeKilled(SharedNodePointer)), SLOT(nodeKilled(SharedNodePointer)));
@@ -3829,7 +3829,7 @@ void Application::updateWindowTitle(){ · 3622 unmodified lines
38293829 NodeList* nodeList = NodeList::getInstance();
38303830
38313831 QString title = QString() + _profile.getUsername() + " " + nodeList->getSessionUUID().toString()
3832− + " @ " + nodeList->getDomainHostname() + buildVersion;
3832+ + " @ " + nodeList->getDomainInfo().getHostname() + buildVersion;
38333833
38343834 qDebug("Application title set to: %s", title.toStdString().c_str());
38353835 _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