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/Application.cpp (1 of 7 files). Show all

Unified · Split

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

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