Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
cc3e4edf
Commit
cc3e4edf
authored
Jul 03, 2015
by
Zach H
Browse files
rename function
parent
e2be1cd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/chatview.cpp
View file @
cc3e4edf
...
...
@@ -298,7 +298,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
}
else
if
(
index
==
mentionFirstIndex
)
{
if
(
tabSupervisor
->
isA
LocalGame
())
if
(
tabSupervisor
->
getIs
LocalGame
())
{
cursor
.
insertText
(
"@"
);
message
=
message
.
mid
(
1
);
...
...
cockatrice/src/tab_supervisor.h
View file @
cc3e4edf
...
...
@@ -68,7 +68,7 @@ public:
void
start
(
const
ServerInfo_User
&
userInfo
);
void
startLocal
(
const
QList
<
AbstractClient
*>
&
_clients
);
void
stop
();
bool
isA
LocalGame
()
const
{
return
isLocalGame
;
}
bool
getIs
LocalGame
()
const
{
return
isLocalGame
;
}
int
getGameCount
()
const
{
return
gameTabs
.
size
();
}
TabUserLists
*
getUserListsTab
()
const
{
return
tabUserLists
;
}
ServerInfo_User
*
getUserInfo
()
const
{
return
userInfo
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment