mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 14:53:53 -07:00
Added username to window title
While having more than 1 client open I found it hard to know which user was which. I have added the user name to the title bar so you know who you are logged in as.
This commit is contained in:
parent
90880c8b7e
commit
4cbffc3f6d
2 changed files with 3 additions and 1 deletions
|
|
@ -82,6 +82,8 @@ public:
|
|||
ClientStatus getStatus() const { QMutexLocker locker(&clientMutex); return status; }
|
||||
void sendCommand(const CommandContainer &cont);
|
||||
void sendCommand(PendingCommand *pend);
|
||||
|
||||
const QString getUserName() {return userName;}
|
||||
|
||||
static PendingCommand *prepareSessionCommand(const ::google::protobuf::Message &cmd);
|
||||
static PendingCommand *prepareRoomCommand(const ::google::protobuf::Message &cmd, int roomId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue