diff --git a/sources/editor/ui/dynamictextfieldeditor.cpp b/sources/editor/ui/dynamictextfieldeditor.cpp index acf8c88b1..8985d8079 100644 --- a/sources/editor/ui/dynamictextfieldeditor.cpp +++ b/sources/editor/ui/dynamictextfieldeditor.cpp @@ -306,8 +306,8 @@ void DynamicTextFieldEditor::on_m_width_sb_editingFinished() } } -void DynamicTextFieldEditor::on_m_elmt_info_cb_activated(const QString &arg1) { - Q_UNUSED(arg1) +void DynamicTextFieldEditor::on_m_elmt_info_cb_activated(int index) { + Q_UNUSED(index) QString info = ui -> m_elmt_info_cb -> currentData().toString(); for (int i = 0; i < m_parts.length(); i++) { diff --git a/sources/editor/ui/dynamictextfieldeditor.h b/sources/editor/ui/dynamictextfieldeditor.h index 956c2adae..351e36729 100644 --- a/sources/editor/ui/dynamictextfieldeditor.h +++ b/sources/editor/ui/dynamictextfieldeditor.h @@ -58,7 +58,7 @@ class DynamicTextFieldEditor : public ElementItemEditor { void on_m_size_sb_editingFinished(); void on_m_frame_cb_clicked(); void on_m_width_sb_editingFinished(); - void on_m_elmt_info_cb_activated(const QString &arg1); + void on_m_elmt_info_cb_activated(int index); void on_m_text_from_cb_activated(int index); void on_m_composite_text_pb_clicked(); void on_m_alignment_pb_clicked();