Commit aedf5316 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Prefer static_cast over C-style casts.

parent 4acabdbb
......@@ -215,7 +215,7 @@ QSize ThemeRenderer::elementSize(Element element) const
sizeRect = m_renderer->boundsOnElement(QStringLiteral("placement_marker"));
return QSize((int)sizeRect.width(), (int)sizeRect.height());
return QSize(static_cast<int>(sizeRect.width()), static_cast<int>(sizeRect.height()));
} // End of namespace Kigo
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