Am Montag, 20. März 2006 14:30 schrieb Abdelrazak Younes: > And here is the fix. The problems lies in that the QColor() constructor > produces an invalid color (RGB 0,0,0). I am going to commit that for > qt4. This bug is also present in qt2 but I am not sure the same fix > applies. I have chosen "lightskyblue" as the default color for a branch. > Is it OK?
Conceptually the default color should not be defined in the frontend. I think that Branch::getColor() should always return a valid color name. For example the default name could be set in the constructor. Georg