Originally Posted by Shawn The strange thing is that the message box appears many times when I click on any item. 22 times on my laptop and 38 or 39 times on my workstation... I test it using a local static variable, and found that the exact times the testslot has been called is 22. Why it behaves like this ?
Do you call QObject::connect() in a loop?
J-P Nurmi
Shawn (4th September 2007)
Sorry, stupid mistake I connected in a recursion function... After replace it to the constractor, it works well Thanks very much for your help!
Forum Rules
Bookmarks