I have a qtableview connected to my model and everything is working the way it is supposed to (well as far as I know). The only issue that I am having is a cosmetic one. Whenever I scroll or mouseover the qtableview the grdilines, and even the alternating row colors, seems to disappear. The issue also only arises if I am spanning rows and/or columns.

Is there a method that I have to reimplement in the model to stop this from happening?