summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Schwarzer <[email protected]>2016-01-17 21:39:35 +0100
committerFrederik Schwarzer <[email protected]>2016-01-17 21:39:35 +0100
commit7a7e382377930d23d99fc18a1688eebe1f337494 (patch)
treeabb3a25697355e089a0ec54b0e9e555979ba2f67
parentad50722ce25478a9d6e93b52a608cdbb273768bf (diff)
Use nullptr.
-rw-r--r--src/gui/graphicsview/themerenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/themerenderer.cpp b/src/gui/graphicsview/themerenderer.cpp
index 3354363..315fc58 100644
--- a/src/gui/graphicsview/themerenderer.cpp
+++ b/src/gui/graphicsview/themerenderer.cpp
@@ -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;
}