Commit 7a7e3823 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Use nullptr.

parent ad50722c
......@@ -85,7 +85,7 @@ bool ThemeRenderer::loadTheme(const QString &themeName)
void ThemeRenderer::renderElement(Element element, QPainter *painter, const QRectF &rect) const
{
if (!m_renderer->isValid() || rect.isEmpty() || painter == 0) {
if (!m_renderer->isValid() || rect.isEmpty() || painter == nullptr) {
return;
}
......
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