Originally Posted by wysota 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"...
Originally Posted by Bertolt Brecht What is the robbing of a bank compared to the founding of a bank?
Forum Rules
Bookmarks