Replace 0 with nullptr

This commit is contained in:
Jonas Kvinge
2020-06-14 17:02:47 +02:00
parent ef34dce4dc
commit 2fbdb29ebc
19 changed files with 62 additions and 63 deletions

View File

@@ -386,7 +386,7 @@ void BlockAnalyzer::drawBackground() {
QPainter p(&background_);
if (p.paintEngine() == 0) return;
if (!p.paintEngine()) return;
for (int x = 0; (uint)x < columns_; ++x)
for (int y = 0; (uint)y < rows_; ++y)