diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-09-02 22:14:42 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-09-04 10:16:46 +0300 |
| commit | 4cc0edb189c4deaa205f986d20a6959aa83fb25c (patch) | |
| tree | 29b94ccfddb625e664ddf072a4351745240cc597 /indra/llui/llbutton.h | |
| parent | 57ab1a410f9cb3534bb403e034743505758579d8 (diff) | |
viewer#2411 Cleanup
Diffstat (limited to 'indra/llui/llbutton.h')
| -rw-r--r-- | indra/llui/llbutton.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llbutton.h b/indra/llui/llbutton.h index 23a3a05e65..6a389f0554 100644 --- a/indra/llui/llbutton.h +++ b/indra/llui/llbutton.h @@ -253,8 +253,8 @@ public: void setDisabledLabelColor(const LLUIColor& c); void setFont(const LLFontGL* font); - const LLFontGL* getFont() const { return mGLFont; } - const std::string& getText() const { return getCurrentLabel().getString(); } + const LLFontGL* getFont() const override { return mGLFont; } + const std::string& getText() const override { return getCurrentLabel().getString(); } S32 getLastDrawCharsCount() const { return mLastDrawCharsCount; } bool labelIsTruncated() const; @@ -392,7 +392,7 @@ private: LLFontVertexBuffer mFontBuffer; protected: - virtual std::string _getSearchText() const + virtual std::string _getSearchText() const override { return getLabelUnselected() + getToolTip(); } |
