Quote:
Originally Posted by jackie_w
Ah, the perils of having only a tenuous grasp on the whole concept of signals and slots and hoping for the best when blindly copying code from other people.
|
You and me both. One replacement I found that seems to work on both 4 & 5 is this:
Code:
- self.connect(self.horizontalHeader(),
- SIGNAL('sectionClicked(int)'),
- self.on_headersection_clicked)
+ self.horizontalHeader().sectionClicked.connect(self.on_headersection_clicked)