diff options
author | Maximilian Goldstein <max.goldstein@qt.io> | 2021-03-26 15:22:15 +0100 |
---|---|---|
committer | Maximilian Goldstein <max.goldstein@qt.io> | 2021-03-29 07:45:07 +0100 |
commit | da8776b98453ddbe08a08daf701a53fae9ede134 (patch) | |
tree | 1f098e88b77c79bc62dbd1ca95a58bd4898fd9d3 /tools/qmleasing | |
parent | 66a0a93c0acf53d4e050066c1c480c66cd635f15 (diff) |
qmleasing: Don't use deprecated QComboBox signal
Pick-to: 6.1
Change-Id: I132e6e932f9501b10398939821a5818dc3cd4f6c
Fixes: QTBUG-92078
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmleasing')
-rw-r--r-- | tools/qmleasing/mainwindow.cpp | 2 |
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()); |