Quote:
Originally Posted by jackie_w
@davidfor,
Oops, posted just before I saw your PM. Could be in for a l-o-n-g night.
|
It was already a long night for me. I sent the PM and headed to bed.
Quote:
ETA: ... or maybe not Thank you, David
It seems removing the first red line and changing the second to
Code:
action.triggered.connect(slot)
is all that was needed.
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.
|
Isn't that how everyone writes code? For this, I had to go and do some reading on it and then I suddenly realised what it was. I like this style a lot more, especially in the windowing code.