summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 23:28:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 23:28:11 +0300
commit53bcb5fd2f680d9a3be9f56e5fab420d83746b00 (patch)
treecaf1b9d064994ad66c4532f6915f03435372fdd1 /src/gui/widgets
parent3080545899d9eacacd527133763b0fe39ab8c896 (diff)
downloadmv-53bcb5fd2f680d9a3be9f56e5fab420d83746b00.tar.gz
mv-53bcb5fd2f680d9a3be9f56e5fab420d83746b00.tar.bz2
mv-53bcb5fd2f680d9a3be9f56e5fab420d83746b00.tar.xz
mv-53bcb5fd2f680d9a3be9f56e5fab420d83746b00.zip
Fix small performance issues.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/colorpage.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/colorpage.cpp b/src/gui/widgets/colorpage.cpp
index a668f2d6f..53e312769 100644
--- a/src/gui/widgets/colorpage.cpp
+++ b/src/gui/widgets/colorpage.cpp
@@ -34,7 +34,6 @@ ColorPage::ColorPage(const Widget2 *const widget,
ListBox(widget, listModel, skin)
{
mItemPadding = mSkin ? mSkin->getOption("itemPadding") : 1;
- mRowHeight = 13;
const Font *const font = getFont();
mRowHeight = CAST_U32(font->getHeight() +
2 * mItemPadding);