Mercurial > hg > svgui
diff widgets/LEDButton.cpp @ 1203:ff042979331b 3.0-integration
Merge from branch svg, and thus (in some subrepos) from levelpanwidget
author | Chris Cannam |
---|---|
date | Mon, 19 Dec 2016 16:34:38 +0000 |
parents | 3f5c82034f9b |
children | a34a2a25907c |
line wrap: on
line diff
--- a/widgets/LEDButton.cpp Wed Dec 14 11:56:47 2016 +0000 +++ b/widgets/LEDButton.cpp Mon Dec 19 16:34:38 2016 +0000 @@ -23,6 +23,7 @@ #include "LEDButton.h" +#include "WidgetScale.h" #include <QPainter> #include <QImage> @@ -279,12 +280,12 @@ QSize LEDButton::sizeHint() const { - return QSize(17, 17); + return WidgetScale::scaleQSize(QSize(17, 17)); } QSize LEDButton::minimumSizeHint() const { - return QSize(17, 17); + return WidgetScale::scaleQSize(QSize(17, 17)); }