Port stringToColor to C++.

Fixes #50.
This commit is contained in:
Black Hat
2018-09-16 16:09:36 +08:00
parent 03a8eae491
commit 1e04013e3d
11 changed files with 20 additions and 27 deletions

View File

@@ -164,7 +164,6 @@ Item {
Layout.fillHeight: true
hint: name || "No Name"
defaultColor: Util.stringToColor(name || "No Name")
image: avatar
}