Version: (using Devel) Compiler: GCC 4.3.2 OS: Linux Installed from: Compiled sources Create a new QWidget in Qt Designer. Drag a KColorButton on to it. Set the color property to any colour. Then set the default color to the same color as previously did. And run the ui and select the button and change the colour and click use default checkbox and hit okay. The colour on the button goes back to invalid. And the default colour should actually be 0, 0, 0, 0 not 0, 0, 0, 255. Because that is black. And you have to change another dig in either red, blue or green to get it to display black.
SVN commit 990663 by cfeck: Show correct color even when "default" was selected BUG: 177552 M +4 -1 kcolorbutton.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=990663
Keith, there is no "default" for the default value in KDE code. If you get a default color of 0,0,0,255 instead of 0,0,0,0 then this is done inside Designer.
SVN commit 990671 by cfeck: Show correct color even when "default" was selected (backport r990663) CCBUG: 177552 M +4 -1 kcolorbutton.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=990671