changed NULLs to nullptr

This commit is contained in:
itsmattkc
2019-01-12 12:57:15 +11:00
parent 6da0f29e8c
commit a8e37ac76a
59 changed files with 785 additions and 785 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ QColor get_color_from_string(const QString& s) {
// workaround for alpha
if (s.at(0) == '#' && s.length() == 9) {
QColor color(s.left(7));
color.setAlpha(s.mid(7).toInt(NULL, 16));
color.setAlpha(s.mid(7).toInt(nullptr, 16));
return color;
} else {
return QColor(s);