Ok, I quick review of the code showed no unbalanced save/restore pairs or any that are separated by non-trivial control flow. So I think the problem is really that the QPainter handed to use by the QGraphicsView is inactive in the first place. We need to find out why and what changing the view mode has to do with it. (It of course modifies the graphics scene that is displayed but I am not sure what the problem is...) (Trying a Qt4-based package like the dailydebs really seems most promising at the moment.)
Ok, I quick review of the code showed no unbalanced save/restore pairs or any that are separated by non-trivial control flow. So I think the problem is really that the QPainter handed to use by the QGraphicsView is inactive in the first place. We need to find out why and what changing the view mode has to do with it. (It of course modifies the graphics scene that is displayed but I am not sure what the problem is...) (Trying a Qt4-based package like the dailydebs really seems most promising at the moment.)