Qt: Maybe don't resize the background
Jeffrey Pfau jeffrey@endrift.com
Tue, 04 Aug 2015 22:13:11 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -1227,7 +1227,7 @@ QPainter painter(this);
painter.setRenderHint(QPainter::SmoothPixmapTransform); painter.fillRect(QRect(QPoint(), size()), Qt::black); QSize s = size(); - QSize ds = s * 0.8; + QSize ds = s; if (ds.width() * m_aspectHeight > ds.height() * m_aspectWidth) { ds.setWidth(ds.height() * m_aspectWidth / m_aspectHeight); } else if (ds.width() * m_aspectHeight < ds.height() * m_aspectWidth) {