History

store username in local settings so it doesn't need to be reloaded

Stephen Birarda committed 12 years ago

Commit a4989361 parent 76e6c937 files · +123 −33Browse files

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

Unified · Split

interface/src/Application.cpp+1−1
@@ -3929,7 +3929,7 @@ void Application::updateWindowTitle(){ · 3928 unmodified lines
3929 NodeList* nodeList = NodeList::getInstance();3929 NodeList* nodeList = NodeList::getInstance();
3930 3930
3931 QString username = AccountManager::getInstance().getUsername();3931 QString username = AccountManager::getInstance().getUsername();
3932 QString title = QString() + (!username.isEmpty() ? username : "") + nodeList->getSessionUUID().toString()3932 QString title = QString() + (!username.isEmpty() ? username + " " : QString()) + nodeList->getSessionUUID().toString()
3933 + " @ " + nodeList->getDomainInfo().getHostname() + buildVersion;3933 + " @ " + nodeList->getDomainInfo().getHostname() + buildVersion;
3934 3934
3935 qDebug("Application title set to: %s", title.toStdString().c_str());3935 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