diff --git a/tests-functionnal/funq-test-app/widgets.h b/tests-functionnal/funq-test-app/widgets.h index 3c4a358..e89b0f1 100644 --- a/tests-functionnal/funq-test-app/widgets.h +++ b/tests-functionnal/funq-test-app/widgets.h @@ -228,13 +228,13 @@ class ComboBoxDialog : public SimpleDialog { for (int i = 0; i < 10; ++i) { combobox->addItem(QString("Item %1").arg(i)); } - connect(combobox, SIGNAL(currentIndexChanged(QString)), this, - SLOT(currentIndexChanged(QString))); + connect(combobox, SIGNAL(currentTextChanged(QString)), this, + SLOT(currentTextChanged(QString))); layout()->addWidget(combobox); } private slots: - void currentIndexChanged(const QString & text) { + void currentTextChanged(const QString & text) { showResult("Text: " + text); } };