Commit 04ad25f1 authored by Alberto Mardegan's avatar Alberto Mardegan
Browse files

VncOutput: set the max scale factor to 2

parent 4bf90fc2
......@@ -177,7 +177,7 @@ VncClient *VncOutput::client() const
void VncOutput::setRequestedScale(qreal scale)
{
Q_D(VncOutput);
d->m_requestedScale = scale;
d->m_requestedScale = qMin(scale, 2.0);
Q_EMIT requestedScaleChanged();
d->updateMapping();
update();
......
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