diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-08 13:47:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-08 14:39:55 +0300 |
commit | 0975dc4cd9012b098061f0201028896d578649f8 (patch) | |
tree | ccb3991a51ef9de47877a7d2549664d0f0ae4f79 /src/gui/widgets/colorpage.cpp | |
parent | 4a823c0ba94c620bd0e51fc61f22c068661946cf (diff) | |
download | plus-0975dc4cd9012b098061f0201028896d578649f8.tar.gz plus-0975dc4cd9012b098061f0201028896d578649f8.tar.bz2 plus-0975dc4cd9012b098061f0201028896d578649f8.tar.xz plus-0975dc4cd9012b098061f0201028896d578649f8.zip |
Remove duplicate variables from some classes.
Diffstat (limited to 'src/gui/widgets/colorpage.cpp')
-rw-r--r-- | src/gui/widgets/colorpage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/colorpage.cpp b/src/gui/widgets/colorpage.cpp index ee5a37c3c..11dd1f07e 100644 --- a/src/gui/widgets/colorpage.cpp +++ b/src/gui/widgets/colorpage.cpp @@ -29,10 +29,10 @@ ColorPage::ColorPage(const Widget2 *const widget, gcn::ListModel *const listModel, const std::string &skin) : - ListBox(widget, listModel, skin), - mItemPadding(mSkin ? mSkin->getOption("itemPadding") : 1), - mRowHeight(13) + ListBox(widget, listModel, skin) { + mItemPadding = mSkin ? mSkin->getOption("itemPadding") : 1; + mRowHeight = 13; const gcn::Font *const font = getFont(); if (font) mRowHeight = font->getHeight() + 2 * mItemPadding; |