diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-06-19 17:01:41 +0200 |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-06-19 17:01:41 +0200 |
commit | 5b1831a59fdde9ddc462f2e20901a0aa7437e0a8 (patch) | |
tree | bbac9a874510c7af9af0e661692acf455565ac74 | |
parent | 62d30fb38b7c5f5f900856ab225ddb0ed74138f3 (diff) |
Exclude "transparent" as it is not a real color name.
-rw-r--r-- | flickcharm/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/flickcharm/main.cpp b/flickcharm/main.cpp index 564ec97..963a798 100644 --- a/flickcharm/main.cpp +++ b/flickcharm/main.cpp @@ -76,6 +76,7 @@ static QStringList colorPairs(int max) { // capitalize the first letter QStringList colors = QColor::colorNames(); + colors.removeAll("transparent"); int num = colors.count(); for (int c = 0; c < num; ++c) colors[c] = colors[c][0].toUpper() + colors[c].mid(1); |