History

make sure balance is cleared on logout and re-launch

Stephen Birarda committed 12 years ago

Commit 164d3c51 parent 79f09603 files · +9 −2Browse files

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

Unified · Split

interface/src/Application.cpp+1−1
@@ -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

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