@@ -274,21 +274,11 @@ int RenderThemeQt::minimumMenuListSize(const RenderStyle&) const
274
274
return fm.width (QLatin1Char (' x' ));
275
275
}
276
276
277
- void RenderThemeQt::setCheckboxSize (RenderStyle& style) const
278
- {
279
- computeSizeBasedOnStyle (style);
280
- }
281
-
282
277
bool RenderThemeQt::paintCheckbox (const RenderObject& o, const PaintInfo& i, const FloatRect& r)
283
278
{
284
279
return paintButton (o, i, IntRect (r));
285
280
}
286
281
287
- void RenderThemeQt::setRadioSize (RenderStyle& style) const
288
- {
289
- computeSizeBasedOnStyle (style);
290
- }
291
-
292
282
bool RenderThemeQt::paintRadio (const RenderObject& o, const PaintInfo& i, const FloatRect& r)
293
283
{
294
284
return paintButton (o, i, IntRect (r));
@@ -493,16 +483,6 @@ bool RenderThemeQt::paintSearchFieldResultsDecorationPart(const RenderBox& o, co
493
483
return RenderTheme::paintSearchFieldResultsDecorationPart (o, pi, r);
494
484
}
495
485
496
- #ifndef QT_NO_SPINBOX
497
- void RenderThemeQt::adjustInnerSpinButtonStyle (RenderStyle& style, const Element*) const
498
- {
499
- // Use the same width as our native scrollbar
500
- int width = ScrollbarTheme::theme ().scrollbarThickness ();
501
- style.setWidth (Length (width, LengthType::Fixed));
502
- style.setMinWidth (Length (width, LengthType::Fixed));
503
- }
504
- #endif
505
-
506
486
bool RenderThemeQt::supportsFocus (StyleAppearance appearance) const
507
487
{
508
488
switch (appearance) {
0 commit comments