Commit acbbe392 authored by Alberto Mardegan's avatar Alberto Mardegan
Browse files

VncOutput: remember VNC size

Otherwise the paint() mathod will always call the updateMapping()
method.
parent d3882f70
......@@ -95,9 +95,9 @@ void VncOutputPrivate::updateMapping()
qreal w = q->width();
qreal h = q->height();
const QSize vncSize = m_client ? m_client->image().size() : QSize();
m_vncSize = m_client ? m_client->image().size() : QSize();
Scaler::InputData in {
vncSize,
m_vncSize,
QSizeF(w, h),
m_scale,
m_center,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment