This is an incorrect signal slot connection
connect( m_pSliderMapper, SIGNAL(mapped(int)),this,SLOT(ChangeTheTimer(int,int)) );
connect( m_pSliderMapper, SIGNAL(mapped(int)),this,SLOT(ChangeTheTimer(int,int)) );
To copy to clipboard, switch view to plain text mode
You can't connect a signal with one parameter to a slot with two parameters.
With given information I can't be sure if this fits your problem, but perhaps you could work it around by giving the second parameter a default value:
void ChangeTheTimer(int foo, int bar = 1234);
void ChangeTheTimer(int foo, int bar = 1234);
To copy to clipboard, switch view to plain text mode
Then, drop the additional parameter from the connect-statement:
connect( m_pSliderMapper, SIGNAL(mapped(int)),this,SLOT(ChangeTheTimer(int)) );
connect( m_pSliderMapper, SIGNAL(mapped(int)),this,SLOT(ChangeTheTimer(int)) );
To copy to clipboard, switch view to plain text mode
Bookmarks