diff options
Diffstat (limited to 'src/checks/level0/README-qcolor-from-literal.md')
-rw-r--r-- | src/checks/level0/README-qcolor-from-literal.md | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/checks/level0/README-qcolor-from-literal.md b/src/checks/level0/README-qcolor-from-literal.md deleted file mode 100644 index cd2d28fe..00000000 --- a/src/checks/level0/README-qcolor-from-literal.md +++ /dev/null @@ -1,10 +0,0 @@ -# qcolor-from-literal - -Warns when a `QColor` is being constructed from a string literal such as "#RRGGBB". -This is less performant than calling the ctor that takes `int`s, since it creates temporary `QString`s. - -Example: - -`QColor c("#000000");` // Use QColor c(0, 0, 0) instead - -`c.setNamedColor("#001122");` // Use c = QColor(0, 0x11, 0x22) instead |