Hello this is a little class that shows a grid of colors using positionToCell QTableWidgetItem, however in the private class of KColorCells there was a member called "colors" (an array of colors), but is a "static" data structure and QTableWidget is a "dynamic" component.<br>
<br>I mean when I change the number of rows or columns in QTableWidget there is not a way to update the new size of colors (becouse is private) and the result is a bug.<br><br>This patch has fixed that and allowed to change the number of columns or rows without any kind of problems.<br>
<br>May I commit?<br><br>Greetings