summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-25 22:18:26 +0300
commit853757df15383c2e9cc33023dc04a256c458e671 (patch)
treef12cf49d6ddc17b6b4fc96d066359872b108f144 /src/gui/widgets/tab.cpp
parent8e57e80d73a58077615924d50ac206d19efddae6 (diff)
downloadmv-853757df15383c2e9cc33023dc04a256c458e671.tar.gz
mv-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2
mv-853757df15383c2e9cc33023dc04a256c458e671.tar.xz
mv-853757df15383c2e9cc33023dc04a256c458e671.zip
fix some code style by cpplint.
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r--src/gui/widgets/tab.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp
index ed9436c11..1f3d71192 100644
--- a/src/gui/widgets/tab.cpp
+++ b/src/gui/widgets/tab.cpp
@@ -133,8 +133,6 @@ void Tab::updateAlpha()
const float alpha = std::max(Client::getGuiAlpha(),
Theme::instance()->getMinimumOpacity());
- // TODO We don't need to do this for every tab on every draw
- // Maybe use a config listener to do it as the value changes.
if (alpha != mAlpha)
{
mAlpha = alpha;