History

add user UUID to application window title

Stephen Birarda committed 12 years ago

Commit 8fc55bd1 parent 7a3ce7c2 files · +8 −11Browse files

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

Unified · Split

interface/src/Application.cpp+4−10
@@ -4003,18 +4003,12 @@ void Application::setMenuShortcutsEnabled(bool enabled) { · 4002 unmodified lines
40034003 }
40044004
40054005 void Application::updateWindowTitle(){
4006− QString title = "";
4007−
4006+
40084007 QString buildVersion = " (build " + applicationVersion() + ")";
4009−
4010− QString username = _profile.getUsername();
4011− if(!username.isEmpty()){
4012− title += username;
4013− title += " @ ";
4014− }
4008+ NodeList* nodeList = NodeList::getInstance();
40154009
4016− title += NodeList::getInstance()->getDomainHostname();
4017− title += buildVersion;
4010+ QString title = QString() + _profile.getUsername() + " " + nodeList->getOwnerUUID().toString()
4011+ + " @ " + nodeList->getDomainHostname() + buildVersion;
40184012
40194013 qDebug("Application title set to: %s", title.toStdString().c_str());
40204014 _window->setWindowTitle(title);

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