Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -3103,7 +3103,6 @@ void Application::updateWindowTitle(){ · 3102 unmodified lines | |||
| 3103 | QString username = AccountManager::getInstance().getAccountInfo().getUsername(); | 3103 | QString username = AccountManager::getInstance().getAccountInfo().getUsername(); |
| 3104 | QString title = QString() + (!username.isEmpty() ? username + " @ " : QString()) | 3104 | QString title = QString() + (!username.isEmpty() ? username + " @ " : QString()) |
| 3105 | + nodeList->getDomainHandler().getHostname() + buildVersion; | 3105 | + nodeList->getDomainHandler().getHostname() + buildVersion; |
| 3106 | qDebug("Application title set to: %s", title.toStdString().c_str()); | ||
| 3107 | 3106 | ||
| 3108 | AccountManager& accountManager = AccountManager::getInstance(); | 3107 | AccountManager& accountManager = AccountManager::getInstance(); |
| 3109 | if (accountManager.getAccountInfo().hasBalance()) { | 3108 | if (accountManager.getAccountInfo().hasBalance()) { |
| @@ -3115,6 +3114,7 @@ void Application::updateWindowTitle(){ · 5 unmodified lines | |||
| 3115 | title += " - ₵" + creditBalanceString; | 3114 | title += " - ₵" + creditBalanceString; |
| 3116 | } | 3115 | } |
| 3117 | 3116 | ||
| 3117 | qDebug("Application title set to: %s", title.toStdString().c_str()); | ||
| 3118 | _window->setWindowTitle(title); | 3118 | _window->setWindowTitle(title); |
| 3119 | } | 3119 | } |
| 3120 | 3120 | ||