diff --git a/kcm/src/declarative/qmloutput.cpp b/kcm/src/declarative/qmloutput.cpp --- a/kcm/src/declarative/qmloutput.cpp +++ b/kcm/src/declarative/qmloutput.cpp @@ -209,7 +209,7 @@ } } - return mode->size().height() / m_output->scale(); + return mode->size().height() * m_output->scale(); } int QMLOutput::currentOutputWidth() const @@ -231,7 +231,7 @@ } } - return mode->size().width() / m_output->scale(); + return mode->size().width() * m_output->scale(); } void QMLOutput::currentModeIdChanged()