Quote Originally Posted by wysota View Post
Hmm... it should be accepted, because the reference is const. What is the exact error message you get?
Object::connect: No such slot QToolButton::setText(QString)
Object::connect: (receiver name: 'bInst')
QString doesn't create any overhead. It's implicitly shared.
Hm thats right... However imo another solution would be "cleaner"...