Commit 8abed8a0 authored by Bill King's avatar Bill King
Browse files

Fixes crash when colorname is a set of empty quotes

BugReport: QTCREATORBUG-1959
parent 79200919
......@@ -70,7 +70,7 @@ static inline QString properName(const QColor &color)
static inline QColor properColor(const QString &str)
{
if (str.isNull())
if (str.isEmpty())
return QColor();
int lalpha = 255;
QString lcolorStr = str;
......
Markdown is supported
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