diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-23 00:10:43 +0300 |
commit | d97189f055798b5b2051c1c5770a3def62747461 (patch) | |
tree | d66a891dba33d2ce1c882e0de7d6145bb2e0326b /src/gui/widgets/tab.cpp | |
parent | 25dce1399e40f24809842303d48ef090439de1e5 (diff) | |
download | plus-d97189f055798b5b2051c1c5770a3def62747461.tar.gz plus-d97189f055798b5b2051c1c5770a3def62747461.tar.bz2 plus-d97189f055798b5b2051c1c5770a3def62747461.tar.xz plus-d97189f055798b5b2051c1c5770a3def62747461.zip |
Improve perfomance in some object constructors.
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r-- | src/gui/widgets/tab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index ebc288b43..3faa874ca 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -68,11 +68,11 @@ Tab::Tab() : mTabColor(&Theme::getThemeColor(Theme::TAB)), mVertexes(new GraphicsVertexes()), mRedraw(true), - mMode(0) + mMode(0), + mFlashColor(Theme::getThemeColor(Theme::TAB_FLASH)), + mPlayerFlashColor(Theme::getThemeColor(Theme::TAB_PLAYER_FLASH)) { init(); - mFlashColor = Theme::getThemeColor(Theme::TAB_FLASH); - mPlayerFlashColor = Theme::getThemeColor(Theme::TAB_PLAYER_FLASH); } Tab::~Tab() |