summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 23:28:26 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 23:41:59 +0200
commitf4e01badebdc5975c9ded35a93f7ac501e4f73c8 (patch)
tree5024e9be339bd47be410278072153c8fd9a1ad8c /src/gui/chat.cpp
parent3a274b8e8c1183e2ef37a5ac0d75849db5560fb3 (diff)
downloadmana-f4e01badebdc5975c9ded35a93f7ac501e4f73c8.tar.gz
mana-f4e01badebdc5975c9ded35a93f7ac501e4f73c8.tar.bz2
mana-f4e01badebdc5975c9ded35a93f7ac501e4f73c8.tar.xz
mana-f4e01badebdc5975c9ded35a93f7ac501e4f73c8.zip
Fixed compile warnings and other tweaks
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 81c2abd8..479e45a6 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -264,7 +264,7 @@ bool ChatWindow::requestChatFocus()
return true;
}
-bool ChatWindow::isInputFocused()
+bool ChatWindow::isInputFocused() const
{
return mChatInput->isFocused();
}