Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -3071,7 +3071,7 @@ void Application::updateWindowTitle(){ · 3070 unmodified lines | |||
| 3071 | QString buildVersion = " (build " + applicationVersion() + ")"; | 3071 | QString buildVersion = " (build " + applicationVersion() + ")"; |
| 3072 | NodeList* nodeList = NodeList::getInstance(); | 3072 | NodeList* nodeList = NodeList::getInstance(); |
| 3073 | 3073 | ||
| 3074 | QString username = AccountManager::getInstance().getUsername(); | 3074 | QString username = AccountManager::getInstance().getAccountInfo().getUsername(); |
| 3075 | QString title = QString() + (!username.isEmpty() ? username + " " : QString()) + nodeList->getSessionUUID().toString() | 3075 | QString title = QString() + (!username.isEmpty() ? username + " " : QString()) + nodeList->getSessionUUID().toString() |
| 3076 | + " @ " + nodeList->getDomainHandler().getHostname() + buildVersion; | 3076 | + " @ " + nodeList->getDomainHandler().getHostname() + buildVersion; |
| 3077 | qDebug("Application title set to: %s", title.toStdString().c_str()); | 3077 | qDebug("Application title set to: %s", title.toStdString().c_str()); |