Showing the changes to interface/src/Application.cpp (1 of 11 files). Show all
Unified · Split
| @@ -200,7 +200,7 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 199 unmodified lines | ||
| 200 | 200 | |
| 201 | 201 | audioThread->start(); |
| 202 | 202 | |
| 203 | − connect(nodeList, SIGNAL(domainChanged(const QString&)), SLOT(domainChanged(const QString&))); | |
| 203 | + connect(&nodeList->getDomainInfo(), SIGNAL(hostnameChanged(const QString&)), SLOT(domainChanged(const QString&))); | |
| 204 | 204 | connect(nodeList, &NodeList::nodeAdded, this, &Application::nodeAdded); |
| 205 | 205 | connect(nodeList, &NodeList::nodeKilled, this, &Application::nodeKilled); |
| 206 | 206 | connect(nodeList, SIGNAL(nodeKilled(SharedNodePointer)), SLOT(nodeKilled(SharedNodePointer))); |
| @@ -3829,7 +3829,7 @@ void Application::updateWindowTitle(){ · 3622 unmodified lines | ||
| 3829 | 3829 | NodeList* nodeList = NodeList::getInstance(); |
| 3830 | 3830 | |
| 3831 | 3831 | QString title = QString() + _profile.getUsername() + " " + nodeList->getSessionUUID().toString() |
| 3832 | − + " @ " + nodeList->getDomainHostname() + buildVersion; | |
| 3832 | + + " @ " + nodeList->getDomainInfo().getHostname() + buildVersion; | |
| 3833 | 3833 | |
| 3834 | 3834 | qDebug("Application title set to: %s", title.toStdString().c_str()); |
| 3835 | 3835 | _window->setWindowTitle(title); |