Fix can not convert unfined to QColor
Using "white" is the default value and according to Qt doc if both color and gradient are defined then gradient will be used.
Using "white" is the default value and according to Qt doc if both color and gradient are defined then gradient will be used.