diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-01 21:49:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-01 21:49:35 +0300 |
commit | ec552e6430ac86b1234c9a7798bf4e028a3c78c0 (patch) | |
tree | 10cd93cf86dca5ce2074b362dc7e4db1c0e2b03d /src/gui/widgets/tab.cpp | |
parent | 170aae70566003a30ab1f6f936364484f6a0a097 (diff) | |
download | manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.gz manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.bz2 manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.xz manaverse-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.zip |
Set secure font in chat tab name if need.
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r-- | src/gui/widgets/tab.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index 7287d6a8e..37a32480d 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -229,3 +229,11 @@ void Tab::widgetMoved(const gcn::Event &event _UNUSED_) { mRedraw = true; } + +void Tab::setLabelFont(gcn::Font *font) +{ + if (!mLabel) + return; + + mLabel->setFont(font); +} |