Use nullptr consistencty instead of 0 and NULL (Qt client)

This commit is contained in:
Mike Gelfand
2017-04-30 12:29:58 +03:00
parent 7bfd7f5863
commit 6da99c05e2
26 changed files with 86 additions and 86 deletions

View File

@@ -19,7 +19,7 @@ namespace
int getHSpacing(QWidget const* w)
{
return qMax(3, w->style()->pixelMetric(QStyle::PM_LayoutHorizontalSpacing, 0, w));
return qMax(3, w->style()->pixelMetric(QStyle::PM_LayoutHorizontalSpacing, nullptr, w));
}
} // namespace