Hi , I'm try to insert an item in popupmenu, but problems with connnect to a SLOT
Qt Code:
  1. //MyWidget constructor
  2. connect(this, SIGNAL(myUpdate()), myw, SLOT(myUpdateWidgets()) ); //this don't get error
  3. myPopupmenu->insertItem("Zoom out",myw,SLOT(resetMoves() ),3);
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. QObject::connect: No such slot MainForm::resetMoves()
  2. QObject::connect: (sender name: 'unnamed')
  3. QObject::connect: (receiver name: 'MainForm')
To copy to clipboard, switch view to plain text mode 
Why the first connect works and second get this message from console?