summaryrefslogtreecommitdiffstats
path: root/src/plugins/printsupport
diff options
context:
space:
mode:
authorAxel Rasmussen <axel.rasmussen1@gmail.com>2014-11-02 15:02:07 -0700
committerAxel Rasmussen <axel.rasmussen1@gmail.com>2014-11-06 02:58:56 +0100
commit0b54de41bc6beeddc0453a3f31527eaaf53ffee5 (patch)
treec2e49663655962b19aa6f863ea8e31dab575f437 /src/plugins/printsupport
parent4763a3571f3301dd2da6d35636a94e4d1dc1f216 (diff)
moc: use Q_NULLPTR instead of 0 in generated code.
This commit changes several instances where moc was generating code that used 0 as a null pointer constant. The Q_NULLPTR define is the more idiomatic way to do this, and additionally this silences warnings generated by e.g. GCC's -Wzero-as-null-pointer-constant. [ChangeLog][Tools][moc] Fixed "zero as null pointer constant" warnings in moc's generated code. Change-Id: Ibe382b7bdbdddaf20cb4bdfd075fcdd1f363f9d3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/plugins/printsupport')
0 files changed, 0 insertions, 0 deletions