summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-03-26 15:22:15 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-29 11:20:34 +0000
commitfa54c390626dd684ba3478769923fe4b73aba09e (patch)
tree35942cb4c9f3e72c2e1665ffb8df20406f512506
parent0afcf2bc61dd9b8378557ace2a560050cf5b3f89 (diff)
qmleasing: Don't use deprecated QComboBox signal
Change-Id: I132e6e932f9501b10398939821a5818dc3cd4f6c Fixes: QTBUG-92078 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit da8776b98453ddbe08a08daf701a53fae9ede134) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tools/qmleasing/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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());