Mercurial > hg > svgui
diff widgets/Thumbwheel.cpp @ 1193:54e6be7ebe11 levelpanwidget
Some adjustments to make view elements clearer and more correctly sized, especially on hidpi (non-pixel-doubling) systems
author | Chris Cannam |
---|---|
date | Thu, 15 Dec 2016 15:34:33 +0000 |
parents | bf509e47e324 |
children | a34a2a25907c |
line wrap: on
line diff
--- a/widgets/Thumbwheel.cpp Thu Dec 15 15:12:44 2016 +0000 +++ b/widgets/Thumbwheel.cpp Thu Dec 15 15:34:33 2016 +0000 @@ -455,9 +455,8 @@ m_cache = QImage(imageSize, QImage::Format_ARGB32); m_cache.fill(Qt::transparent); - double w = m_cache.width(); - double h = m_cache.height(); - + int w = m_cache.width(); + int h = m_cache.height(); int bw = 3; // border width QRect subclip;