diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-16 22:57:39 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-16 22:57:39 +0200 |
commit | 576972fb768b0e43d41bada49ad88c6431494f10 (patch) | |
tree | 755420a6c566a748233c06310062ea2cdfa280da /src/gui/widgets/tab.cpp | |
parent | c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768 (diff) | |
parent | a0f7bc231d9c348ba86248dd8d0adfddbce453f7 (diff) | |
download | mana-client-576972fb768b0e43d41bada49ad88c6431494f10.tar.gz mana-client-576972fb768b0e43d41bada49ad88c6431494f10.tar.bz2 mana-client-576972fb768b0e43d41bada49ad88c6431494f10.tar.xz mana-client-576972fb768b0e43d41bada49ad88c6431494f10.zip |
Merge branch '0.0.29'
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r-- | src/gui/widgets/tab.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index 456735c4..071be06a 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -159,10 +159,8 @@ void Tab::draw(gcn::Graphics *graphics) drawChildren(graphics); } -void Tab::setTabColor(gcn::Color color) +void Tab::setTabColor(const gcn::Color &color) { - if (color == NULL) - color = guiPalette->getColor(Palette::TEXT); mTabColor = color; } |