Commit 4337bc3a authored by Paul Wicking's avatar Paul Wicking
Browse files

QDoc: Minor cleanup in generator.cpp


Fix 0 as nullptr constant.
Stop using C-style casts:
- Do not cast to int that which returns an int (QString::length())
- Use static_cast<>() where it's sensible to do so.

Change-Id: I48c7a3e6f1465759dd3973eff66656a4f2a1c19a
Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
Showing with 5 additions and 5 deletions
Supports Markdown
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