diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-25 22:18:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-25 22:18:26 +0300 |
commit | 853757df15383c2e9cc33023dc04a256c458e671 (patch) | |
tree | f12cf49d6ddc17b6b4fc96d066359872b108f144 /src/gui/widgets | |
parent | 8e57e80d73a58077615924d50ac206d19efddae6 (diff) | |
download | plus-853757df15383c2e9cc33023dc04a256c458e671.tar.gz plus-853757df15383c2e9cc33023dc04a256c458e671.tar.bz2 plus-853757df15383c2e9cc33023dc04a256c458e671.tar.xz plus-853757df15383c2e9cc33023dc04a256c458e671.zip |
fix some code style by cpplint.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/chattab.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/tab.cpp | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 35cd2aa32..2edd5d67b 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -516,8 +516,6 @@ int BrowserBox::calcHeight() prevColor[1] = selColor[1]; bold = false; - // TODO: Check if we must take texture size limits into account here - // TODO: Check if some of the O(n) calls can be removed for (size_t start = 0, end = std::string::npos; start != std::string::npos; start = end, end = std::string::npos) diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index b4eef0352..95f46385b 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -174,7 +174,6 @@ void ChatTab::chatLog(std::string line, Own own, break; case BY_CHANNEL: tmp.nick.clear(); - // TODO: Use a predefined color lineColor = "##2"; // Equiv. to BrowserBox::GREEN break; case ACT_WHISPER: 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; |