I think messing with pointers always should be avoided as often as possible. In this specific case, it IMHO adds no value. Using pointers here increases code complexity and makes things more crash-prone. QColor is a very light-weight class (basically it's just an enumeration and a union of 5 16-bit integers) - just a few bytes more than storing just the pointer itself (64 bit).
Toby ------------------------------------------------------------------------------ _______________________________________________ LMMS-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmms-devel
