[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/kconfig_compiler
From: Allen Winter <winter () kde ! org>
Date: 2008-04-09 2:12:37
Message-ID: 1207707157.482235.27125.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 794972 by winterz:
permit an optional 4th value for colors to support rgba.
thanks for the patch michaell.
BUGS: 160545
M +1 -1 kconfig_compiler.cpp
--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #794971:794972
@@ -452,7 +452,7 @@
defaultValue = "default" + name;
} else if ( type == "Color" && !defaultValue.isEmpty() ) {
- QRegExp colorRe("\\d+,\\s*\\d+,\\s*\\d+");
+ QRegExp colorRe("\\d+,\\s*\\d+,\\s*\\d+(,\\s*\\d+)?");
if (colorRe.exactMatch(defaultValue))
{
defaultValue = "QColor( " + defaultValue + " )";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic