diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 12:35:09 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 12:35:09 +0100 |
commit | 05e753294c1a603252d2eed4b1731c3f50543a7e (patch) | |
tree | 82d8c04a55df7a689fd15b69e8e6917c91e165d0 /src/gui/widgets/whispertab.cpp | |
parent | 38674a7732d2224e07e80c0c4224e3468e4ddfb0 (diff) | |
download | mana-05e753294c1a603252d2eed4b1731c3f50543a7e.tar.gz mana-05e753294c1a603252d2eed4b1731c3f50543a7e.tar.bz2 mana-05e753294c1a603252d2eed4b1731c3f50543a7e.tar.xz mana-05e753294c1a603252d2eed4b1731c3f50543a7e.zip |
Fixed some compiler warnings
Fixed a faulty == statement that should have been an assignment and a
mismatched 'else' block.
Diffstat (limited to 'src/gui/widgets/whispertab.cpp')
-rw-r--r-- | src/gui/widgets/whispertab.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp index b67b74f8..ba469c00 100644 --- a/src/gui/widgets/whispertab.cpp +++ b/src/gui/widgets/whispertab.cpp @@ -47,8 +47,9 @@ #include "../../utils/strprintf.h" #include "../../utils/stringutils.h" -WhisperTab::WhisperTab(std::string nick) : ChatTab(nick), - mNick(nick) +WhisperTab::WhisperTab(const std::string &nick) : + ChatTab(nick), + mNick(nick) { } |