Remove unneeded hack
authorstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Feb 2007 12:00:26 +0000 (12:00 +0000)
committerstaikos <staikos@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Feb 2007 12:00:26 +0000 (12:00 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19771 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/qt/RenderThemeQt.cpp

index ad6ce4ed69663a32cf543f8f1b79079ac6c7562c..0d6857d61fe621d44d94b9bc16078151249c08cc 100644 (file)
@@ -1,3 +1,12 @@
+2007-02-21  George Staikos  <staikos@kde.org>
+
+        Reviewed by Zack.
+
+        Remove unneeded hack now.
+
+        * platform/qt/RenderThemeQt.cpp:
+        (WebCore::RenderThemeQt::setCheckboxSize):
+
 2007-02-21  Zack Rusin  <zrusin@trolltech.com>
 
         Reviewed by Lars
index c82d7335c8784cb76ed86221477369fae6e0a14a..b6ddf22be90ec646dfa567f9e943858d61c86118 100644 (file)
@@ -182,11 +182,7 @@ void RenderThemeQt::setCheckboxSize(RenderStyle* style) const
     // At different DPI settings on Windows, querying the theme gives you a larger size that accounts for
     // the higher DPI.  Until our entire engine honors a DPI setting other than 96, we can't rely on the theme's
     // metrics.
-#ifdef Q_WS_MAC
-    const int ff = 16;
-#else
     const int ff = 13;
-#endif
     if (style->width().isIntrinsicOrAuto())
         style->setWidth(Length(ff, Fixed));