History

expose access token from AccountManager

Stephen Birarda committed 12 years ago

Commit 4936fb31 parent 709bcdb7 files · +28 −12Browse files

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

Unified · Split

interface/src/Menu.cpp+1−1
@@ -1119,7 +1119,7 @@ void Menu::toggleLoginMenuItem() { · 1118 unmodified lines
1119 1119
1120 if (accountManager.isLoggedIn()) {1120 if (accountManager.isLoggedIn()) {
1121 // change the menu item to logout1121 // change the menu item to logout
1122 _loginAction->setText("Logout " + accountManager.getUsername());1122 _loginAction->setText("Logout " + accountManager.getAccountInfo().getUsername());
1123 connect(_loginAction, &QAction::triggered, &accountManager, &AccountManager::logout);1123 connect(_loginAction, &QAction::triggered, &accountManager, &AccountManager::logout);
1124 } else {1124 } else {
1125 // change the menu item to login1125 // change the menu item to login

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