diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-08 23:24:37 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-09 22:48:21 +0200 |
commit | 69d8407badcb703709534f5097b9b5697ac3404c (patch) | |
tree | 7a7e126b0ce0181f22397d62ca3d4e553482b439 /src/gui/widgets | |
parent | 1158bce840bbd76a297c4f5eefd19444584f6fcd (diff) | |
download | mana-69d8407badcb703709534f5097b9b5697ac3404c.tar.gz mana-69d8407badcb703709534f5097b9b5697ac3404c.tar.bz2 mana-69d8407badcb703709534f5097b9b5697ac3404c.tar.xz mana-69d8407badcb703709534f5097b9b5697ac3404c.zip |
Made BeingManager methods const where appropriate
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/chattab.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index 0dcb2fdf..f3258f04 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -68,11 +68,6 @@ ChatTab::~ChatTab() delete mScrollArea; } -void ChatTab::chatLog(const char* line, int own, bool ignoreRecord) -{ - chatLog(std::string(line), own, ignoreRecord); -} - void ChatTab::chatLog(std::string line, int own, bool ignoreRecord) { // Trim whitespace diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index ad7c90bb..3d92e57f 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -69,7 +69,6 @@ class ChatTab : public Tab * @param ignoreRecord should this not be recorded? */ void chatLog(std::string line, int own = BY_SERVER, bool ignoreRecord = false); - void chatLog(const char* line, int own = BY_SERVER, bool ignoreRecord = false); /** * Adds the text to the message list |