From fa54c390626dd684ba3478769923fe4b73aba09e Mon Sep 17 00:00:00 2001 From: Maximilian Goldstein Date: Fri, 26 Mar 2021 15:22:15 +0100 Subject: qmleasing: Don't use deprecated QComboBox signal Change-Id: I132e6e932f9501b10398939821a5818dc3cd4f6c Fixes: QTBUG-92078 Reviewed-by: Fabian Kosmale (cherry picked from commit da8776b98453ddbe08a08daf701a53fae9ede134) Reviewed-by: Qt Cherry-pick Bot --- tools/qmleasing/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qmleasing/mainwindow.cpp b/tools/qmleasing/mainwindow.cpp index 679b4c0b91..4b6fb59029 100644 --- a/tools/qmleasing/mainwindow.cpp +++ b/tools/qmleasing/mainwindow.cpp @@ -77,7 +77,7 @@ MainWindow::MainWindow(QWidget *parent) : for (const QString &name : presetNames) ui_properties.comboBox->addItem(name); - connect(ui_properties.comboBox, SIGNAL(currentIndexChanged(QString)), splineEditor, SLOT(setPreset(QString))); + connect(ui_properties.comboBox, SIGNAL(currentTextChanged(QString)), splineEditor, SLOT(setPreset(QString))); splineEditor->setPreset(ui_properties.comboBox->currentText()); -- cgit v1.2.3