diff --git a/lcl/interfaces/qt/qtthemes.pas b/lcl/interfaces/qt/qtthemes.pas index d71525447e..def4920d69 100644 --- a/lcl/interfaces/qt/qtthemes.pas +++ b/lcl/interfaces/qt/qtthemes.pas @@ -621,7 +621,7 @@ begin opt := QStyleOption_create(Integer(QStyleOptionVersion), Integer(QStyleOptionSO_Default)); APixmap := QPixmap_create(); if StockID in [idButtonOk..idButtonShield] then - IconSize := QStyle_pixelMetric(QApplication_style(), QStylePM_SmallIconSize, opt) + IconSize := QStyle_pixelMetric(QApplication_style(), QStylePM_ButtonIconSize, opt) else IconSize := 0; QStyle_standardPixmap(QApplication_style(), APixmap, AStdPixmap, opt);