From c0d5142d1ed98b62ad87603fa9d2620dce256bd7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 19:46:23 +0300 Subject: add consts in gui classes. --- src/gui/widgets/chattab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/chattab.cpp') diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index f7dd927d2..804da2f18 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -280,7 +280,7 @@ void ChatTab::chatLog(std::string line, Own own, return; } - TabbedArea *const tabArea = getTabbedArea(); + const TabbedArea *const tabArea = getTabbedArea(); if (!tabArea) return; @@ -444,7 +444,7 @@ bool ChatTab::handleCommands(const std::string &type, const std::string &args) return handleCommand(type, args); } -void ChatTab::saveToLogFile(const std::string &msg) +void ChatTab::saveToLogFile(const std::string &msg) const { if (chatLogger) { -- cgit v1.2.3-70-g09d2