diff options
author | Mihai Moldovan <ionic@ionic.de> | 2016-01-23 03:18:24 +0100 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2016-01-28 15:21:37 +0000 |
commit | e9b369b16f5b6070d11888474f1b652db6f4b4e2 (patch) | |
tree | 42287496a0ca869206696d2171d755604e41b088 | |
parent | 36da0d02aaf913ba2fd4f864282b47e755acf9ac (diff) | |
download | qtwebkit-e9b369b16f5b6070d11888474f1b652db6f4b4e2.tar.gz |
Sync data type of buttonHeightRatio with value.
Previously, buttonHeightRatio was defined as an int with a value of 1.5.
Hence, the value was actually trimmed to 1.
Change-Id: Icbc628f6c5495774ba4476d0ad53d6164ec62213
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r-- | Source/WebCore/platform/qt/RenderThemeQtMobile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp b/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp index ceee78c65..35e47506f 100644 --- a/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp +++ b/Source/WebCore/platform/qt/RenderThemeQtMobile.cpp @@ -58,8 +58,8 @@ static const int frameWidth = 2; static const int checkBoxWidth = 21; static const int radioWidth = 21; static const int sliderSize = 20; -static const int buttonHeightRatio = 1.5; +static const float buttonHeightRatio = 1.5; static const float multipleComboDotsOffsetFactor = 1.8; static const float buttonPaddingLeft = 18; static const float buttonPaddingRight = 18; |