01-20-2013 07:03 AM
I am trying to connect a file selected slot, but it doesn't seem to work. I get:
Object::connect: No such slot CoolApp:nFileSelected(const QStringList& selectedFiles) in ../src/CoolApp.cpp:73
Context: Failed to find target node with id 11
FilePickerPrivate:nCardInvokeRequestFinished() . error= 0
The method is there, so I don't know what QNX is complaining about.
Here is the connect statement:
SIGNAL(fileSelected(const QStringList& selectedFiles)),
SLOT(onFileSelected(const QStringList& selectedFiles)));
What did I do wrong? I am looking at the example here:
Solved! Go to Solution.
01-20-2013 07:32 AM
Don't specify parameter names in signals and slots.
Try changing it to: