Skip to content

Commit

Permalink
Fix failed functional test on Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin committed Mar 17, 2024
1 parent 1bf210d commit a341ecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests-functionnal/funq-test-app/widgets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};
Expand Down

0 comments on commit a341ecb

Please sign in to comment.