From f4e01badebdc5975c9ded35a93f7ac501e4f73c8 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 3 May 2009 23:28:26 +0200 Subject: 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 &. --- src/gui/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/chat.cpp') 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(); } -- cgit v1.2.3-70-g09d2