diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/browserbox.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/chattab.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index df99905b7..387e96da4 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -658,7 +658,7 @@ void BrowserBox::updateHeight() } } -std::string BrowserBox::getTextAtPos(const int x, const int y) +std::string BrowserBox::getTextAtPos(const int x, const int y) const { int textX = 0; int textY = 0; diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index edea47ddf..c19256afa 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -200,7 +200,7 @@ class BrowserBox : public gcn::Widget, void setEnableImages(bool n) { mEnableImages = n; } - std::string getTextAtPos(const int x, const int y); + std::string getTextAtPos(const int x, const int y) const; private: int calcHeight(); diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index 09f2b35ee..27149a9f1 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -134,7 +134,7 @@ class ChatTab : public Tab virtual void saveToLogFile(std::string &msg); - std::list<std::string> &getRows() + std::list<std::string> &getRows() const { return mTextOutput->getRows(); } bool hasRows() const |