Merge branch 'Plasma/5.17'

wilder-5.18
Nate Graham 7 years ago
commit 3374c6fd02
  1. 2
      xembed-sni-proxy/sniproxy.cpp

@ -206,7 +206,7 @@ void SNIProxy::update()
int h = image.height();
m_pixmap = QPixmap::fromImage(image);
if (w != s_embedSize || h != s_embedSize) {
if (w > s_embedSize || h > s_embedSize) {
qCDebug(SNIPROXY) << "Scaling pixmap of window" << m_windowId << Title() << "from w*h" << w << h;
m_pixmap = m_pixmap.scaled(s_embedSize, s_embedSize, Qt::KeepAspectRatio, Qt::SmoothTransformation);
}

Loading…
Cancel
Save